From: Harald Hoyer Date: Thu, 2 Jul 2009 12:50:22 +0000 (+0200) Subject: fixed adding modules via -a X-Git-Tag: 0.4~17 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=624b52c440961a5ec411955a9a3bde76d5708374;p=thirdparty%2Fdracut.git fixed adding modules via -a --- diff --git a/dracut-functions b/dracut-functions index 8fbfa9768..77e635b74 100755 --- a/dracut-functions +++ b/dracut-functions @@ -257,7 +257,7 @@ check_modules() { [[ $dracutmodules != all ]] && ! strstr "$dracutmodules" "$mod" && \ continue strstr "$omit_dracutmodules" "$mod" && continue - if ! strstr "$add_dracutmodules" " $mod "; then + if ! strstr "$add_dracutmodules" "$mod"; then should_source_module "$moddir" || continue fi mods_to_load+=" $mod "