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:
authorPavel Malyshev <p.malishev@gmail.com>2021-01-08 02:29:06 +0300
committerPavel Malyshev <p.malishev@gmail.com>2021-01-08 02:29:06 +0300
commitfba5120f3fea18fb2cac6dde1372a001c96c69de (patch)
treeaeb2bb864898bf905fa3fdbe5ba6b8803b16ba49 /include/tests_filesystems
parent0b6f3006934822ca75b19cc6aed1f796c6eeffa6 (diff)
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 3fdb91d6..08f8d001 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