X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scripts%2Fservice;h=cdb70bb2db049e75b9c092889a93ad4fb6ed7621;hb=b10a87938eb116b8871081643058052564e39603;hp=7e4c2054bcf618b4ec4eb204dbc01d300183d203;hpb=757b392b853d7bc16592b9431d5275ca943684e4;p=debbugs.git diff --git a/scripts/service b/scripts/service index 7e4c205..cdb70bb 100755 --- a/scripts/service +++ b/scripts/service @@ -455,7 +455,11 @@ END } else { print {$transcript} "Usertags were: " . join(" ", @oldtags) . ".\n"; } - print {$transcript} "Usertags are now: " . join(" ", @newtags) . ".\n"; + if (@newtags == 0) { + print {$transcript} "There are now no usertags set.\n"; + } else { + print {$transcript} "Usertags are now: " . join(" ", @newtags) . ".\n"; + } Debbugs::User::write_usertags(\%ut, $user); } } elsif (!$control) {