diff options
author | bugreport%peshkin.net <> | 2002-09-01 17:29:14 +0000 |
---|---|---|
committer | bugreport%peshkin.net <> | 2002-09-01 17:29:14 +0000 |
commit | 92e9c5a49c32c377f21fe9bdafb61b10de3876d7 (patch) | |
tree | a08a11c2c5931c998b56182e406de997f67adb86 /checksetup.pl | |
parent | 164042b8359e1bcdbe67b1039934987255c567e6 (diff) | |
download | bugs-92e9c5a49c32c377f21fe9bdafb61b10de3876d7.tar bugs-92e9c5a49c32c377f21fe9bdafb61b10de3876d7.tar.gz bugs-92e9c5a49c32c377f21fe9bdafb61b10de3876d7.tar.bz2 bugs-92e9c5a49c32c377f21fe9bdafb61b10de3876d7.tar.xz bugs-92e9c5a49c32c377f21fe9bdafb61b10de3876d7.zip |
Bug 166016 checksetup gives torrent of cryptic errors if my_webservergroup is not found
2xr = timeless
Diffstat (limited to 'checksetup.pl')
-rwxr-xr-x | checksetup.pl | 3 |
1 files changed, 2 insertions, 1 deletions
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. |