mirror of https://github.com/CISOfy/lynis.git
[HTTP-6624] improved logging for test
This commit is contained in:
parent
888df98af4
commit
928023ec6a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue