Skip to content

Commit

Permalink
Fix for issue CISOfy#1578
Browse files Browse the repository at this point in the history
  • Loading branch information
QUELIN Julien committed Dec 13, 2024
1 parent 2a540dd commit 58463ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/tests_filesystems
Original file line number Diff line number Diff line change
Expand Up @@ -860,8 +860,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"
Expand Down

0 comments on commit 58463ab

Please sign in to comment.