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>2016-06-18 12:14:01 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2016-06-18 12:14:01 +0300
commit983e293eb157131ca5e085e4927ea5fc220edc73 (patch)
treecc5e8bea4af5cfa53f57a73d2c61357f47165857 /include/tests_file_permissions
parent9c093f7a97fb0b9593a303ef7394c3bc5dea99b2 (diff)
Replaced text strings to allow translations
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"