diff --git a/defaults/initrd.d/00-crypt.sh b/defaults/initrd.d/00-crypt.sh index 5f6bcb8..b7033af 100755 --- a/defaults/initrd.d/00-crypt.sh +++ b/defaults/initrd.d/00-crypt.sh @@ -118,7 +118,7 @@ _open_luks() { luks_device="${luks_dev}" # otherwise hope... setup_md_device "${luks_device}" - cryptsetup isLuks "${luks_device}" || { + eval "${CRYPTSETUP_BIN} isLuks ${luks_device}" || { bad_msg "${luks_device} does not contain a LUKS header" dev_error=1 continue;