From c9257fc9db82692d3e849d6e1584d6b44ad85cbf Mon Sep 17 00:00:00 2001 From: t0b3 Date: Tue, 22 Oct 2013 23:58:33 +0200 Subject: [PATCH] Update 00-crypt.sh omnipresent use of CRYPTSETUP_BIN --- defaults/initrd.d/00-crypt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;