Browse Source

dracut-functions.sh:dracut_module_included() check with spaces

check also for surrounding spaces in the module strings
master
Harald Hoyer 12 years ago
parent
commit
50411d30d5
  1. 2
      dracut-functions.sh

2
dracut-functions.sh

@ -153,7 +153,7 @@ dracut_need_initqueue() { @@ -153,7 +153,7 @@ dracut_need_initqueue() {
}

dracut_module_included() {
[[ "$mods_to_load $modules_loaded" == *$@* ]]
[[ " $mods_to_load $modules_loaded " == *\ $*\ * ]]
}

# Create all subdirectories for given path without creating the last element.

Loading…
Cancel
Save