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>2017-03-13 18:26:26 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2017-03-13 18:26:26 +0300
commitcd63e2389ef9aef5b8d2e12f472243d243c6ce1e (patch)
tree40758df4828756b05b3523ba80d5e0870bad5059 /include/tests_file_permissions
parent8cfd05fdef024de3eb008650677c7e22add19566 (diff)
[FILE-7524] Do not show missing files or paths by default
Diffstat (limited to 'include/tests_file_permissions')
-rw-r--r--include/tests_file_permissions2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tests_file_permissions b/include/tests_file_permissions
index 38ba95be..eed04825 100644
--- a/include/tests_file_permissions
+++ b/include/tests_file_permissions
@@ -42,7 +42,7 @@
LogText " Actual permissions: ${FILEVALUE}"
LogText " Result: $PERMS"
if [ "${PERMS}" = "FILE_NOT_FOUND" ]; then
- Display --indent 4 --text "${I}" --result "${STATUS_NOT_FOUND}" --color WHITE
+ if IsVerbose; then Display --indent 4 --text "${I}" --result "${STATUS_NOT_FOUND}" --color WHITE; fi
elif [ "${PERMS}" = "OK" ]; then
Display --indent 4 --text "${I}" --result "${STATUS_OK}" --color GREEN
elif [ "${PERMS}" = "BAD" ]; then