Bug 299468: Unable to run testserver.pl on FreeBSD - Patch by Dennis Melentyev <dennis.melentyev@infopulse.com.ua> r=joel a=justdave

git-svn-id: svn://10.0.0.236/trunk@180273 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
lpsolit%gmail.com 2005-09-15 10:37:33 +00:00
parent f8a75d4012
commit 4c04ae281e

View File

@ -38,7 +38,7 @@ if ((@ARGV != 1) || ($ARGV[0] !~ /^https?:/))
# Try to determine the GID used by the webserver.
my @pscmds = ('ps -eo comm,gid', 'ps -acxo command,gid');
my @pscmds = ('ps -eo comm,gid', 'ps -acxo command,gid', 'ps -acxo command,rgid');
my $sgid = 0;
if ($^O !~ /MSWin32/i) {
foreach my $pscmd (@pscmds) {