Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Boelen <michael.boelen@cisofy.com>2016-07-11 10:49:24 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2016-07-11 10:49:24 +0300
commit74c9513fbb58e0769595ccbdf35f4a7a62f1ca87 (patch)
tree55236ade3ec9220a84e8197c6508d7f9ee218a12 /include/tests_webservers
parente22322920f4172c0810bdcf0e077530ca5ab9f55 (diff)
[HTTP-6632] fix for proper detection of Apache modules
Diffstat (limited to 'include/tests_webservers')
-rw-r--r--include/tests_webservers2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tests_webservers b/include/tests_webservers
index 0cbfb4a3..47c4cbed 100644
--- a/include/tests_webservers
+++ b/include/tests_webservers
@@ -271,7 +271,7 @@
for I in ${APACHE_MODULES_LOCS}; do
DirectoryExists ${I}
if [ ${DIRECTORY_FOUND} -eq 1 ]; then
- FIND=`find ${I} -name mod_* -print | sort`
+ FIND=$(find ${I} -name "mod_*" -print | sort)
for J in ${FIND}; do
Report "apache_module[]=${J}"
LogText "Result: found Apache module ${J}"