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

check also for surrounding spaces in the module strings
master
Harald Hoyer 2013-08-20 09:03:22 +02:00
parent 88c86ac7f0
commit 50411d30d5
1 changed files with 1 additions and 1 deletions

View File

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