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>2021-04-28 10:41:59 +0300
committerGitHub <noreply@github.com>2021-04-28 10:41:59 +0300
commit0506d4467a221d12204b526d6b119584a10a147f (patch)
tree3573b907c1d6ca7e5f5824a0a17e071f6986c789 /include/tests_filesystems
parentf41a2ead38cd7dd1f14fedcf4405da61adf37f88 (diff)
parentfba5120f3fea18fb2cac6dde1372a001c96c69de (diff)
Merge pull request #1105 from afunix/1103-blacklisted-modules
1103: FILE-6430 reports suggestion only when at least one kernel module is not in the blacklist
Diffstat (limited to 'include/tests_filesystems')
-rw-r--r--include/tests_filesystems4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/tests_filesystems b/include/tests_filesystems
index 34f128d0..d3a6eaab 100644
--- a/include/tests_filesystems
+++ b/include/tests_filesystems
@@ -820,11 +820,11 @@
LogText "Result: module ${FS} is currently not loaded in the kernel."
AddHP 2 3
if IsDebug; then Display --indent 6 --text "- Module ${FS} not loaded (lsmod)" --result OK --color GREEN; fi
- FOUND=1
- AVAILABLE_MODPROBE_FS="${AVAILABLE_MODPROBE_FS}${FS} "
else
LogText "Result: module ${FS} is loaded in the kernel"
Display --indent 4 --text "- Module $FS loaded in the kernel (lsmod)" --result "FOUND" --color WHITE
+ FOUND=1
+ AVAILABLE_MODPROBE_FS="${AVAILABLE_MODPROBE_FS}${FS} "
fi
else
AddHP 3 3