[apache2] 01/06: a2query: Fix regex for extracting MPM

Stefan Fritsch sf at moszumanska.debian.org
Sat Jan 9 22:59:34 UTC 2016


This is an automated email from the git hooks/post-receive script.

sf pushed a commit to branch master
in repository apache2.

commit 884dd37304e1ad4d5b25a36a0d1d741852490865
Author: Stefan Fritsch <sf at sfritsch.de>
Date:   Sat Jan 9 23:36:32 2016 +0100

    a2query: Fix regex for extracting MPM
---
 debian/a2query.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/a2query.in b/debian/a2query.in
index 88a668e..d0883e8 100755
--- a/debian/a2query.in
+++ b/debian/a2query.in
@@ -209,7 +209,7 @@ sub load_modules
 		my $file = $_;
 		next if $file !~ m/\.load$/;
 		$file =~ s/\.load//;
-		if ($file =~ /mpm_(?:event|worker|prefork)/)
+		if ($file =~ /mpm_(event|worker|prefork)/)
 		{
 			$MPM = $1 if $MPM eq 'invalid';
 			if(grep { $_ =~ m/^mpm_(?:event|worker|prefork)/ } @MODULES)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-apache/apache2.git



More information about the Pkg-apache-commits mailing list