From fba5120f3fea18fb2cac6dde1372a001c96c69de Mon Sep 17 00:00:00 2001
From: Pavel Malyshev
Date: Thu, 7 Jan 2021 17:29:06 -0600
Subject: [PATCH] 1103: FILE-6430 reports suggestion only when at least one
kernel module is not in the blacklist
---
include/tests_filesystems | 4 ++--
1 file 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