From 7c8332df93f114b0a739d0cea80ecaafa7254cb5 Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Wed, 3 Sep 2014 21:05:50 -0400 Subject: Bug 1040728 - testserver.pl on Ubuntu 12.04 with Apache2 invalidly gives error 'Failed to find the GID for the 'httpd' process' due to truncated command name r=gerv,a=sgreen --- testserver.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testserver.pl b/testserver.pl index d296b730f..77489d252 100755 --- a/testserver.pl +++ b/testserver.pl @@ -39,7 +39,7 @@ if (!ON_WINDOWS) { foreach my $pscmd (@pscmds) { open PH, "$pscmd 2>/dev/null |"; while (my $line = ) { - if ($line =~ /^(?:\S*\/)?(?:httpd|apache)2?\s+(\d+)$/) { + if ($line =~ /^(?:\S*\/)?(?:httpd|apache?)2?\s+(\d+)$/) { $sgid = $1 if $1 > $sgid; } } -- cgit v1.2.3-65-gdbad