From 624b52c440961a5ec411955a9a3bde76d5708374 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Thu, 2 Jul 2009 14:50:22 +0200 Subject: [PATCH] fixed adding modules via -a --- dracut-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dracut-functions b/dracut-functions index 8fbfa97..77e635b 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 " -- 2.7.4