]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
fixed adding modules via -a
authorHarald Hoyer <harald@redhat.com>
Thu, 2 Jul 2009 12:50:22 +0000 (14:50 +0200)
committerHarald Hoyer <harald@redhat.com>
Thu, 2 Jul 2009 12:50:22 +0000 (14:50 +0200)
dracut-functions

index 8fbfa97680c0d3c279b535a139eb7000f0f5531e..77e635b746deb774121c8a25fe01f4612405e459 100755 (executable)
@@ -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 "