summaryrefslogtreecommitdiff
path: root/groupmanage
diff options
context:
space:
mode:
authorian <ian>2003-07-13 22:57:25 +0000
committerian <ian>2003-07-13 22:57:25 +0000
commit6e56f231c21e43ab825cad06eab9f21aca9639c4 (patch)
treed5476552588c608e486ec1997e04140930861770 /groupmanage
parentc07be3595a60917243c741a53d7a2644db897a71 (diff)
downloaduserv-utils-6e56f231c21e43ab825cad06eab9f21aca9639c4.tar.gz
*** empty log message ***
Diffstat (limited to 'groupmanage')
-rwxr-xr-xgroupmanage/groupmanage2
1 files changed, 1 insertions, 1 deletions
diff --git a/groupmanage/groupmanage b/groupmanage/groupmanage
index 90957fd..ffb45c0 100755
--- a/groupmanage/groupmanage
+++ b/groupmanage/groupmanage
@@ -227,7 +227,7 @@ while (@ARGV) {
} elsif (m/^\w[-0-9A-Za-z]*$/) {
y/\n//d;
$chgu=$_;
- getpwnam($chgu) || &quit("username $chgu does not exist");
+ defined(getpwnam($chgu)) || &quit("username $chgu does not exist");
eval "\@l = \@$clist; 1" || &quit("internal error: $@");
$already= grep($_ eq $chgu, @l);
if ($action eq 'add') {