diff --git a/lib/utils.sh b/lib/utils.sh index a550fb4..8e66c42 100644 --- a/lib/utils.sh +++ b/lib/utils.sh @@ -359,7 +359,7 @@ is_kernel_option_enabled() { fi fi else - if [ "$FILTER" != "" ]; then + if [ "$MODPROBE_FILTER" != "" ]; then DEF_MODULE="$($SUDO_CMD modprobe -n -v "$MODULE_NAME" 2>/dev/null | grep -E "$MODPROBE_FILTER" | xargs)" else DEF_MODULE="$($SUDO_CMD modprobe -n -v "$MODULE_NAME" 2>/dev/null | xargs)"