diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2019-07-12 14:14:41 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2019-07-12 14:14:41 +0300 |
commit | 585ddc391edd2cba77c0f829170b9b1a51e54640 (patch) | |
tree | 80c1e33639f1b6909d198e85bf4b285836ec9d7c /lynis | |
parent | aaba4932b034177188d0974580c806f4e741138d (diff) |
More extensive file check
Diffstat (limited to 'lynis')
-rwxr-xr-x | lynis | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)" |