diff --git a/modules.d/90crypt/check b/modules.d/90crypt/check index 505142e8..7ab1acb3 100755 --- a/modules.d/90crypt/check +++ b/modules.d/90crypt/check @@ -2,7 +2,7 @@ [[ $dracutfunctions ]] && . $dracutfunctions -find_binary cryptsetup || exit 1 +find_binary cryptsetup >/dev/null || exit 1 if [ "$1" = "-h" ]; then blkid | grep -q crypt_LUKS || exit 1 diff --git a/modules.d/90lvm/check b/modules.d/90lvm/check index a8b1e5d0..dc433d94 100755 --- a/modules.d/90lvm/check +++ b/modules.d/90lvm/check @@ -2,7 +2,7 @@ [[ $dracutfunctions ]] && . $dracutfunctions -find_binary lvm || exit 1 +find_binary lvm >/dev/null || exit 1 if [ "$1" = "-h" ]; then blkid | grep -q lvm2pv || exit 1 diff --git a/modules.d/90mdraid/check b/modules.d/90mdraid/check index 414cc2bb..d809fb42 100755 --- a/modules.d/90mdraid/check +++ b/modules.d/90mdraid/check @@ -2,7 +2,7 @@ [[ $dracutfunctions ]] && . $dracutfunctions -find_binary mdadm || exit 1 +find_binary mdadm >/dev/null || exit 1 if [ "$1" = "-h" ]; then blkid | grep -q linux_raid || exit 1