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-07-30 17:41:11 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2016-07-30 17:41:11 +0300
commit4faaa10a8c253811ec83aa916592ccf9115c7320 (patch)
treed6bc7c54ce8951ef8101f807639ce0cb0a140a8a /include
parentcfdc8228fdd93109b228ffa03f9513455ca3961f (diff)
Initialize variables and cleanup
Diffstat (limited to 'include')
-rw-r--r--include/tests_filesystems2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/tests_filesystems b/include/tests_filesystems
index eecb621b..e048a518 100644
--- a/include/tests_filesystems
+++ b/include/tests_filesystems
@@ -688,6 +688,7 @@
LIST_FS_NOT_SUPPORTED="cramfs freevxfs hfs hfsplus jffs2 squashfs udf"
FOUND=0
AVAILABLE_FS=""
+ AVAILABLE_MODPROBE_FS=""
for FS in ${LIST_FS_NOT_SUPPORTED}; do
# Check if filesystem is present in modprobe output
FIND=`${MODPROBEBINARY} -v -n $FS 2>/dev/null | ${EGREPBINARY} "/${FS}.ko" | tail -1`
@@ -720,6 +721,7 @@
else
LogText "Test skipped lsmod binary not found or /proc/modules can not be opened"
fi
+ unset AVAILABLE_FS AVAILABLE_MODPROBE_FS
fi
#
#################################################################################