Skip to contentSkip to conversation

dracut-functions: fixed ignoring additional modules when -m specified

PATCH New Amadeusz Żołnowski 1 participant 1 message Jul 26, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dracut-functions: fixed ignoring additional modules when -m specified

---
 dracut-functions |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
dracut-functions +1 -1
index 05e5c5b..9ead6b3 100755
@@ -550,7 +550,7 @@ check_modules() {
 	# This should never happen, but...
 	[[ -d $moddir ]] || continue
 	[[ $dracutmodules != all ]] && ! strstr "$dracutmodules" "$mod" && \
-	    continue
+	    ! strstr "$add_dracutmodules" "$mod" && continue
 	strstr "$omit_dracutmodules" "$mod" && continue
 	if ! strstr "$add_dracutmodules" "$mod"; then
 	    should_source_module "$moddir" || continue
Signature · 1 line
1.7.1.1