summaryrefslogtreecommitdiff
path: root/fml/lib/FML/Command/UserControl.pm
diff options
context:
space:
mode:
Diffstat (limited to 'fml/lib/FML/Command/UserControl.pm')
-rw-r--r--fml/lib/FML/Command/UserControl.pm8
1 files changed, 5 insertions, 3 deletions
diff --git a/fml/lib/FML/Command/UserControl.pm b/fml/lib/FML/Command/UserControl.pm
index 1f6e41ba..74767f91 100644
--- a/fml/lib/FML/Command/UserControl.pm
+++ b/fml/lib/FML/Command/UserControl.pm
@@ -4,7 +4,7 @@
# All rights reserved. This program is free software; you can
# redistribute it and/or modify it under the same terms as Perl itself.
#
-# $FML: UserControl.pm,v 1.32 2003/03/28 10:32:21 fukachan Exp $
+# $FML: UserControl.pm,v 1.33 2003/08/23 07:24:42 fukachan Exp $
#
package FML::Command::UserControl;
@@ -128,7 +128,8 @@ sub useradd
}
unless ($trycount) {
- $curproc->logerror("no trail to add $address");
+ $curproc->logerror("fail to add $address");
+ croak("fail to add $address");
}
}
@@ -208,7 +209,8 @@ sub userdel
}
unless ($trycount) {
- $curproc->logerror("no trail to remove $address");
+ $curproc->logerror("no such user $address");
+ croak("no such user $address");
}
}