]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1040728 - testserver.pl on Ubuntu 12.04 with Apache2 invalidly gives error 'Faile...
authorDylan William Hardison <dylan@hardison.net>
Thu, 4 Sep 2014 01:05:50 +0000 (21:05 -0400)
committerDylan William Hardison <dylan@hardison.net>
Thu, 4 Sep 2014 01:09:48 +0000 (21:09 -0400)
r=gerv,a=sgreen

testserver.pl

index d296b730f9a258022cb372f8bc1dda9d55c96a13..77489d252f74e48cb3bcff6c559ecf4fa19f220e 100755 (executable)
@@ -39,7 +39,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;
             }
         }