Browse Source

Fix potential bug that might cause us to load the wrong module in case

the module names are too similar.
master
Victor Lowther 16 years ago
parent
commit
b6405a630b
  1. 2
      dracut

2
dracut

@ -122,7 +122,7 @@ check_modules @@ -122,7 +122,7 @@ check_modules
#source our modules.
for moddir in "$dsrc/modules.d"/[0-9][0-9]*; do
mod=${moddir##*/}; mod=${mod#[0-9][0-9]}
strstr "$mods_to_load" "$mod" && . "$moddir/install"
strstr "$mods_to_load" " $mod " && . "$moddir/install"
done
unset moddir


Loading…
Cancel
Save