Warning added for missing AIDE config file (#303)

Warning given if AIDE is detected but no configuration file found.
Without configuration file AIDE will not work.
This commit is contained in:
marcus-cr 2016-10-26 06:28:47 -04:00 committed by Michael Boelen
parent 3a69103a0e
commit 6c02d49de0
1 changed files with 2 additions and 1 deletions

View File

@ -83,7 +83,8 @@
done
if [ -z "${AIDECONFIG}" ]; then
Display --indent 6 --text "- AIDE config file" --result "${STATUS_NOT_FOUND}" --color YELLOW
Display --indent 6 --text "- AIDE config file" --result "${STATUS_NOT_FOUND}" --color RED
ReportWarning "${TEST_NO}" "No AIDE configuration file was found, needed for AIDE functionality"
else
LogText "Checking configuration file ${AIDECONFIG} for errors"
FIND=$(${AIDEBINARY} --config=${AIDECONFIG} -D)