]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Patch for bug 277210: Testserver.pl should find apache2/httpd2 as well when it looks...
authorjocuri%softhome.net <>
Sun, 16 Jan 2005 21:29:53 +0000 (21:29 +0000)
committerjocuri%softhome.net <>
Sun, 16 Jan 2005 21:29:53 +0000 (21:29 +0000)
testserver.pl

index 3ce9f598bfd975a2b0c504bb4122b8c69a7e5e7c..df4f7145fcddd25a4c1e5d0ab038a2ccc21eff81 100755 (executable)
@@ -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;
             }
         }