X-Git-Url: https://git.donarmstrong.com/?p=debbugs.git;a=blobdiff_plain;f=scripts%2Fservice;fp=scripts%2Fservice;h=cdb70bb2db049e75b9c092889a93ad4fb6ed7621;hp=7e4c2054bcf618b4ec4eb204dbc01d300183d203;hb=ee73b48c52cedb53381b6c0291693fa1e2a66d2c;hpb=efe56431b1ea05a9d8e79d6ab6dccefbd639a169 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) {