]> git.ipfire.org Git - thirdparty/dracut.git/blobdiff - dracut-init.sh
test: increase test VM memory from 512M to 1024M to avoid OOM killer
[thirdparty/dracut.git] / dracut-init.sh
index 7294eabb734fbf965eeed7c9f855202488826c11..ff1d4e3bd23f5a8a69bde56b32a47cd5a7605b00 100755 (executable)
@@ -764,7 +764,7 @@ module_check() {
     local _forced=0
     local _hostonly=$hostonly
     [[ -z $_moddir ]] && _moddir=$(dracut_module_path "$1")
-    [ $# -eq 2 ] && _forced=$2
+    [ $# -ge 2 ] && _forced=$2
     [[ -d $_moddir ]] || return 1
     if [[ ! -f $_moddir/module-setup.sh ]]; then
         # if we do not have a check script, we are unconditionally included