From 50411d30d5de8e6ffa3f5c12bd37b153fade1534 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Tue, 20 Aug 2013 09:03:22 +0200 Subject: [PATCH] dracut-functions.sh:dracut_module_included() check with spaces check also for surrounding spaces in the module strings --- dracut-functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dracut-functions.sh b/dracut-functions.sh index 68b0a56ae..e1159898e 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. -- 2.47.3