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
path: root/lynis
diff options
context:
space:
mode:
authorMichael Boelen <michael.boelen@cisofy.com>2019-07-12 14:14:41 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2019-07-12 14:14:41 +0300
commit585ddc391edd2cba77c0f829170b9b1a51e54640 (patch)
tree80c1e33639f1b6909d198e85bf4b285836ec9d7c /lynis
parentaaba4932b034177188d0974580c806f4e741138d (diff)
More extensive file check
Diffstat (limited to 'lynis')
-rwxr-xr-xlynis2
1 files changed, 1 insertions, 1 deletions
diff --git a/lynis b/lynis
index d486520a..0914f9c4 100755
--- a/lynis
+++ b/lynis
@@ -958,7 +958,7 @@ ${NORMAL}
for INCLUDE_TEST in ${INCLUDE_TESTS}; do
INCLUDE_FILE="${INCLUDEDIR}/tests_${INCLUDE_TEST}"
if [ -f ${INCLUDE_FILE} ]; then
- if SafePerms ${INCLUDE_FILE}; then
+ if SafeFile ${INCLUDE_FILE}; then
. ${INCLUDE_FILE}
else
LogText "Exception: skipping test category ${INCLUDE_TEST}, file ${INCLUDE_FILE} has bad permissions (should be 640, 600 or 400)"