]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 166016 checksetup gives torrent of cryptic errors if my_webservergroup is not...
authorbugreport%peshkin.net <>
Sun, 1 Sep 2002 17:29:14 +0000 (17:29 +0000)
committerbugreport%peshkin.net <>
Sun, 1 Sep 2002 17:29:14 +0000 (17:29 +0000)
2xr = timeless

checksetup.pl

index c5a00b99f892309e7b0c2b1311689a2c4b457f79..c8cdf7a60a430954e5c6bfcfa8421a64d967453b 100755 (executable)
@@ -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.