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>2019-03-19 15:07:12 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2019-03-19 15:07:12 +0300
commit928023ec6aead100a517d8c342c1e9b9f649a5fc (patch)
tree3427c94a2786a71dc9910e315109c2ac4dab8acf /include/tests_webservers
parent888df98af46549c7b93f907477e0316faad9c7bd (diff)
[HTTP-6624] improved logging for test
Diffstat (limited to 'include/tests_webservers')
-rw-r--r--include/tests_webservers3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/tests_webservers b/include/tests_webservers
index 459e1633..5d0907b9 100644
--- a/include/tests_webservers
+++ b/include/tests_webservers
@@ -113,9 +113,10 @@
Display --indent 6 --text "Info: Configuration file found (${APACHE_CONFIGFILE})"
LogText "Result: Configuration file found (${APACHE_CONFIGFILE})"
else
- LogText "Result: File or directory ${APACHE_CONFIGFILE} does not exist"
+ LogText "Result: File or directory ${APACHE_TESTFILE} does not exist"
Display --indent 6 --text "[Notice] possible directory/file parts found, but still unsure what the real configuration file is. Skipping some Apache related tests"
ReportException "${TEST_NO}:1" "Found some unknown directory or file references in Apache configuration"
+ LogText "Note: if only the Apache binary package has been installed, then the configuration might be missing. Is the Apache package really needed?"
fi
fi
fi