summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdracut-functions.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/dracut-functions.sh b/dracut-functions.sh
index 68b0a56a..e1159898 100755
--- a/dracut-functions.sh
+++ b/dracut-functions.sh
@@ -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.