summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2010-08-04 17:46:54 +0200
committerHarald Hoyer <harald@redhat.com>2010-08-04 17:46:54 +0200
commit578c24a47349420b2bb5c677dd35658d0a2c1e32 (patch)
treec9eebc2ecb44e56466ef65532527266465308f83
parentc492fe12c0fb0b2374131326bad565fe8f937085 (diff)
downloaddracut-578c24a47349420b2bb5c677dd35658d0a2c1e32.tar.gz
dracut-578c24a47349420b2bb5c677dd35658d0a2c1e32.tar.bz2
dracut-578c24a47349420b2bb5c677dd35658d0a2c1e32.zip
dracut-functions: fixed --omit
-rwxr-xr-xdracut-functions1
1 files changed, 1 insertions, 0 deletions
diff --git a/dracut-functions b/dracut-functions
index 19950162..a1873c5d 100755
--- a/dracut-functions
+++ b/dracut-functions
@@ -528,6 +528,7 @@ check_modules() {
strstr " $mods_to_load " " $mod " && continue
# This should never happen, but...
[[ -d $moddir ]] || continue
+ strstr " $omit_dracutmodules " " $mod " && continue
if ! strstr " $dracutmodules $add_dracutmodules " " $mod "; then
# module not in our list