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

This commit is contained in:
lpsolit%gmail.com 2005-09-15 10:35:06 +00:00
parent a56d97b648
commit 3f018be86b

View File

@ -38,7 +38,7 @@ if ((@ARGV != 1) || ($ARGV[0] !~ /^https?:/))
# Try to determine the GID used by the webserver. # 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; my $sgid = 0;
if ($^O !~ /MSWin32/i) { if ($^O !~ /MSWin32/i) {
foreach my $pscmd (@pscmds) { foreach my $pscmd (@pscmds) {