diff options
Diffstat (limited to 'defaults/unlock-luks.sh')
-rw-r--r-- | defaults/unlock-luks.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/defaults/unlock-luks.sh b/defaults/unlock-luks.sh index 0f545047..6ca60e0d 100644 --- a/defaults/unlock-luks.sh +++ b/defaults/unlock-luks.sh @@ -37,7 +37,7 @@ then fi main() { - if [ ! -x /sbin/cryptsetup ] + if ! hash cryptsetup >/dev/null 2>&1 then bad_msg "cryptsetup program is missing. Was initramfs built without --luks parameter?" exit 1 |