summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2002-01-02 15:24:10 +0000
committeryar <yar@FreeBSD.org>2002-01-02 15:24:10 +0000
commita26056ca75980ec7500462ee9af440e100d74cd5 (patch)
tree7c5141482ae74462a4385a9c46e07e5f840c10cc
parentdbe2ffb19b80f86008bc5f021f55be1b6c8c6f4c (diff)
downloadFreeBSD-src-a26056ca75980ec7500462ee9af440e100d74cd5.zip
FreeBSD-src-a26056ca75980ec7500462ee9af440e100d74cd5.tar.gz
In remove_at_jobs():
Don't print "Removing at jobs" if there are no jobs to remove. Add a whitespace before "done." so the output looks better.
-rw-r--r--usr.sbin/adduser/rmuser.perl4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/adduser/rmuser.perl b/usr.sbin/adduser/rmuser.perl
index 08fb0fc..7e0f90a 100644
--- a/usr.sbin/adduser/rmuser.perl
+++ b/usr.sbin/adduser/rmuser.perl
@@ -533,10 +533,10 @@ sub remove_at_jobs {
return 1 if ($user eq "");
- print STDERR "Removing user's at jobs:";
@at = invoke_atq($user);
return 0 if ($#at == -1);
+ print STDERR "Removing user's at jobs:";
print STDERR " @at:";
$atrm = invoke_atrm($user, @at);
if ($atrm ne "") {
@@ -544,7 +544,7 @@ sub remove_at_jobs {
return 1;
}
- print STDERR "done.\n";
+ print STDERR " done.\n";
return 0;
}
OpenPOWER on IntegriCloud