mirror of
https://github.com/CISOfy/lynis.git
synced 2026-03-11 08:55:28 +00:00
Merge 58463ab6f9 into 52ed89ce35
This commit is contained in:
commit
0e41c86d0c
1 changed files with 2 additions and 2 deletions
|
|
@ -859,8 +859,8 @@
|
|||
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 | ${GREPBINARY} -E "/${FS}.ko" | ${TAILBINARY} -1)
|
||||
if [ -n "${FIND}" ]; then
|
||||
FIND=$(${MODPROBEBINARY} -v -n ${FS} 2>/dev/null)
|
||||
if [ $? -eq 0 ]; then
|
||||
LogText "Result: found ${FS} support in the kernel (output = ${FIND})"
|
||||
Debug "Module ${FS} present in the kernel"
|
||||
LogText "Test: Checking if ${FS} is active"
|
||||
|
|
|
|||
Loading…
Reference in a new issue