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:
Diffstat (limited to 'include/tests_file_permissions')
-rw-r--r--include/tests_file_permissions6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/tests_file_permissions b/include/tests_file_permissions
index 612aa325..859dbaca 100644
--- a/include/tests_file_permissions
+++ b/include/tests_file_permissions
@@ -42,11 +42,11 @@
LogText " Actual permissions: ${FILEVALUE}"
LogText " Result: $PERMS"
if [ "${PERMS}" = "FILE_NOT_FOUND" ]; then
- Display --indent 4 --text "${I}" --result "NOT FOUND" --color WHITE
+ Display --indent 4 --text "${I}" --result "${STATUS_NOT_FOUND}" --color WHITE
elif [ "${PERMS}" = "OK" ]; then
- Display --indent 4 --text "${I}" --result OK --color GREEN
+ Display --indent 4 --text "${I}" --result "${STATUS_OK}" --color GREEN
elif [ "${PERMS}" = "BAD" ]; then
- Display --indent 4 --text "${I}" --result WARNING --color RED
+ Display --indent 4 --text "${I}" --result "${STATUS_WARNING}" --color RED
ReportWarning ${TEST_NO} "M" "Incorrect permissions for file ${I}"
else
LogText "UNKNOWN status for file"