diff options
author | Stefan Fritsch <sf@sfritsch.de> | 2016-01-09 23:43:17 +0100 |
---|---|---|
committer | Stefan Fritsch <sf@sfritsch.de> | 2016-01-09 23:43:17 +0100 |
commit | e3fa64fd1ca404caf529735cbd11650470d4ef9e (patch) | |
tree | 476a07a6689f5b259e7a313ff07932b16b871355 | |
parent | ae2eda761724645cc2b87e7e9ba8fb3c0dc6710a (diff) | |
download | apache2-e3fa64fd1ca404caf529735cbd11650470d4ef9e.tar.gz |
a2query: whitespace fixes
-rwxr-xr-x | debian/a2query.in | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/debian/a2query.in b/debian/a2query.in index fba13686..f9f1a910 100755 --- a/debian/a2query.in +++ b/debian/a2query.in @@ -186,11 +186,11 @@ sub load_defaults $SERVER_VERSION = $value; $SERVER_VERSION =~ s/[^\d\.]//g; } - elsif($pattern =~ /MPM/) + elsif ($pattern =~ /MPM/) { $MPM = $value; } - elsif($pattern =~ /Magic/) + elsif ($pattern =~ /Magic/) { $API = $value; $API =~ s/\:\d+//; @@ -204,7 +204,7 @@ sub load_modules { my $conf_dir = $CONFIG_DIR . "/mods-enabled"; opendir(DIR, $conf_dir) || fail("$conf_dir: $!", 1); - while( readdir(DIR) ) + while ( readdir(DIR) ) { my $file = $_; next if $file !~ m/\.load$/; @@ -212,7 +212,7 @@ sub load_modules if ($file =~ /mpm_(event|worker|prefork)/) { $MPM = $1 if $MPM eq 'invalid'; - if(grep { $_ =~ m/^mpm_(?:event|worker|prefork)/ } @MODULES) + if (grep { $_ =~ m/^mpm_(?:event|worker|prefork)/ } @MODULES) { fail("There is more than one MPM loaded. Do not proceed due to undefined results", 1); } @@ -231,7 +231,7 @@ sub load_conf } my $conf_dir = $CONFIG_DIR . "/conf-enabled"; opendir(DIR, $conf_dir) || fail("$conf_dir: $!", 1); - while( readdir(DIR) ) + while ( readdir(DIR) ) { my $file = $_; next if $file !~ m/\.conf$/; @@ -250,7 +250,7 @@ sub load_sites } my $conf_dir = $CONFIG_DIR . "/sites-enabled"; opendir(DIR, $conf_dir) || fail("$conf_dir: $!", 1); - while( readdir(DIR) ) + while ( readdir(DIR) ) { my $file = $_; next if $file !~ m/\.conf$/; |