From 6e56f231c21e43ab825cad06eab9f21aca9639c4 Mon Sep 17 00:00:00 2001 From: ian Date: Sun, 13 Jul 2003 22:57:25 +0000 Subject: [PATCH] *** empty log message *** --- changelog | 2 ++ debian/changelog | 2 ++ groupmanage/groupmanage | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/changelog b/changelog index 774706f..b727696 100644 --- a/changelog +++ b/changelog @@ -4,6 +4,8 @@ userv-utils (0.2.99.0.2) unstable; urgency=low * new Makefiles in various directories, still all a bit crap * removed some common stuff from */Makefile to settings.make * copyright notices updated + * groupmanage: do not claim that root doesn't exist. + (Thanks to report from Ben Harris.) -- diff --git a/debian/changelog b/debian/changelog index 774706f..b727696 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,8 @@ userv-utils (0.2.99.0.2) unstable; urgency=low * new Makefiles in various directories, still all a bit crap * removed some common stuff from */Makefile to settings.make * copyright notices updated + * groupmanage: do not claim that root doesn't exist. + (Thanks to report from Ben Harris.) -- 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') { -- 2.30.2