From 92e9c5a49c32c377f21fe9bdafb61b10de3876d7 Mon Sep 17 00:00:00 2001 From: "bugreport%peshkin.net" <> Date: Sun, 1 Sep 2002 17:29:14 +0000 Subject: Bug 166016 checksetup gives torrent of cryptic errors if my_webservergroup is not found 2xr = timeless --- checksetup.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'checksetup.pl') diff --git a/checksetup.pl b/checksetup.pl index c5a00b99f..c8cdf7a60 100755 --- a/checksetup.pl +++ b/checksetup.pl @@ -1121,7 +1121,8 @@ sub fixPerms { if ($my_webservergroup) { # Funny! getgrname returns the GID if fed with NAME ... - my $webservergid = getgrnam($my_webservergroup); + my $webservergid = getgrnam($my_webservergroup) + or die("no such group: $my_webservergroup"); # chown needs to be called with a valid uid, not 0. $< returns the # caller's uid. Maybe there should be a $bugzillauid, and call with that # userid. -- cgit v1.2.3-24-g4f1b