From 7f94ad14f00cd3bc72c201b1405ce98070e60829 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 14 Aug 2024 10:19:16 +0200 Subject: [PATCH] Bug 20411: Output only if pref has been deleted Signed-off-by: Jonathan Druart Signed-off-by: Katrin Fischer --- installer/data/mysql/atomicupdate/bug_20411.pl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/installer/data/mysql/atomicupdate/bug_20411.pl b/installer/data/mysql/atomicupdate/bug_20411.pl index 7590d2d99c..b9e4950b97 100755 --- a/installer/data/mysql/atomicupdate/bug_20411.pl +++ b/installer/data/mysql/atomicupdate/bug_20411.pl @@ -12,9 +12,7 @@ return { q{ DELETE FROM systempreferences WHERE variable='StaffDetailItemSelection' } - ); - - say $out "Removed system preference 'StaffDetailItemSelection'"; + ) == 1 && say $out "Removed system preference 'StaffDetailItemSelection'"; }, }; -- 2.39.5