diff options
-rwxr-xr-x | testserver.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testserver.pl b/testserver.pl index eeb783592..2ab48f375 100755 --- a/testserver.pl +++ b/testserver.pl @@ -42,7 +42,7 @@ if (!ON_WINDOWS) { foreach my $pscmd (@pscmds) { open PH, "$pscmd 2>/dev/null |"; while (my $line = <PH>) { - if ($line =~ /^(?:\S*\/)?(?:httpd|apache)2?\s+(\d+)$/) { + if ($line =~ /^(?:\S*\/)?(?:httpd|apache?)2?\s+(\d+)$/) { $sgid = $1 if $1 > $sgid; } } |