diff options
author | jocuri%softhome.net <> | 2005-01-16 21:29:53 +0000 |
---|---|---|
committer | jocuri%softhome.net <> | 2005-01-16 21:29:53 +0000 |
commit | 0bc38d0adb055f5eebe498609040fbd31b8e5174 (patch) | |
tree | 5ce2f8cb19a7d509c0bfa5b92b301fd3e32a82c8 /testserver.pl | |
parent | Bug 278486 - The link for bug 185090 was pointing to tbug 6679 instead. (diff) | |
download | bugzilla-0bc38d0adb055f5eebe498609040fbd31b8e5174.tar.gz bugzilla-0bc38d0adb055f5eebe498609040fbd31b8e5174.tar.bz2 bugzilla-0bc38d0adb055f5eebe498609040fbd31b8e5174.zip |
Patch for bug 277210: Testserver.pl should find apache2/httpd2 as well when it looks for webservers; patch by Kieran Lal <kieran@gmail.com> and Colin S. Ogilvie <colin.ogilvie@gmail.com>, r=wurblzap, r=vladd, a=justdave.
Diffstat (limited to 'testserver.pl')
-rwxr-xr-x | testserver.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testserver.pl b/testserver.pl index 3ce9f598b..df4f7145f 100755 --- a/testserver.pl +++ b/testserver.pl @@ -43,7 +43,7 @@ if ($^O !~ /MSWin32/i) { foreach my $pscmd (@pscmds) { open PH, "$pscmd 2>/dev/null |"; while (my $line = <PH>) { - if ($line =~ /^(?:\S*\/)?(?:httpd|apache)\s+(\d+)$/) { + if ($line =~ /^(?:\S*\/)?(?:httpd|apache)2?\s+(\d+)$/) { $sgid = $1 if $1 > $sgid; } } |