summaryrefslogtreecommitdiffstats
path: root/checksetup.pl
diff options
context:
space:
mode:
authorbugreport%peshkin.net <>2002-09-01 19:29:14 +0200
committerbugreport%peshkin.net <>2002-09-01 19:29:14 +0200
commit92e9c5a49c32c377f21fe9bdafb61b10de3876d7 (patch)
treea08a11c2c5931c998b56182e406de997f67adb86 /checksetup.pl
parent164042b8359e1bcdbe67b1039934987255c567e6 (diff)
downloadbugzilla-92e9c5a49c32c377f21fe9bdafb61b10de3876d7.tar.gz
bugzilla-92e9c5a49c32c377f21fe9bdafb61b10de3876d7.tar.xz
Bug 166016 checksetup gives torrent of cryptic errors if my_webservergroup is not found
2xr = timeless
Diffstat (limited to 'checksetup.pl')
-rwxr-xr-xchecksetup.pl3
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.