Commit a3fa7395 authored by jocuri%softhome.net's avatar jocuri%softhome.net

Patch for bug 277210: Testserver.pl should find apache2/httpd2 as well when it…

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=myk.
parent 3b4174f1
......@@ -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;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment