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_hardening')
-rw-r--r--include/tests_hardening2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tests_hardening b/include/tests_hardening
index 0719cf8e..006df683 100644
--- a/include/tests_hardening
+++ b/include/tests_hardening
@@ -59,7 +59,7 @@
FILE="${ITEM}"
LogText "Test: Check file permissions for ${ITEM}"
ShowSymlinkPath ${ITEM}
- if [ ! -z "${SYMLINK}" ]; then
+ if [ -n "${SYMLINK}" ]; then
FILE="${SYMLINK}"
fi