projects
/
platform
/
upstream
/
dracut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88c86ac
)
dracut-functions.sh:dracut_module_included() check with spaces
author
Harald Hoyer
<harald@redhat.com>
Tue, 20 Aug 2013 07:03:22 +0000
(09:03 +0200)
committer
Harald Hoyer
<harald@redhat.com>
Tue, 20 Aug 2013 07:04:20 +0000
(09:04 +0200)
check also for surrounding spaces in the module strings
dracut-functions.sh
patch
|
blob
|
history
diff --git
a/dracut-functions.sh
b/dracut-functions.sh
index 68b0a56ae636e4a8d79de3cb10ee554f53dc4049..e1159898ebf633c283cbd0226706d5b2f48cec88 100755
(executable)
--- 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.