diff --git a/installer/data/mysql/atomicupdate/bug-35152-move-RoutingListNote-to-additional-contents.pl b/installer/data/mysql/atomicupdate/bug-35152-move-RoutingListNote-to-additional-contents.pl index 81fe414283..a4820333e7 100755 --- a/installer/data/mysql/atomicupdate/bug-35152-move-RoutingListNote-to-additional-contents.pl +++ b/installer/data/mysql/atomicupdate/bug-35152-move-RoutingListNote-to-additional-contents.pl @@ -34,8 +34,8 @@ return { } # Remove old system preference - $dbh->do("DELETE FROM systempreferences WHERE variable='RoutingListNote'"); - say $out "Removed system preference 'RoutingListNote'"; + $dbh->do("DELETE FROM systempreferences WHERE variable='RoutingListNote'") == 1 + && say $out "Removed system preference 'RoutingListNote'"; }, };