Fix for issue #1578

This commit is contained in:
QUELIN Julien 2024-12-13 11:56:56 +01:00
parent 2a540ddf75
commit 58463ab6f9

View file

@ -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"