]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
lvm/module-setup.sh: use for_each_host_dev_and_slaves_all
authorHarald Hoyer <harald@redhat.com>
Thu, 21 Feb 2013 11:07:34 +0000 (12:07 +0100)
committerHarald Hoyer <harald@redhat.com>
Thu, 21 Feb 2013 11:13:56 +0000 (12:13 +0100)
Use for_each_host_dev_and_slaves_all to get all lvm setups for the
host-only case.

Thanks to Olivier Thauvin

modules.d/90lvm/module-setup.sh

index cefd3e92af17a52362564032b46cce065c4f1f71..e0e4043fb912a2636a4aef99f4e280ce6f7ca80a 100755 (executable)
@@ -22,7 +22,7 @@ check() {
     }
 
     [[ $hostonly ]] || [[ $mount_needs ]] && {
-        for_each_host_dev_and_slaves check_lvm || return 1
+        for_each_host_dev_and_slaves_all check_lvm || return 1
     }
 
     return 0