From 6c02d49de090d23409853ec63dda3b624714356c Mon Sep 17 00:00:00 2001 From: marcus-cr Date: Wed, 26 Oct 2016 06:28:47 -0400 Subject: [PATCH] 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. --- include/tests_file_integrity | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/tests_file_integrity b/include/tests_file_integrity index 687853ff..4f3f6237 100644 --- a/include/tests_file_integrity +++ b/include/tests_file_integrity @@ -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)