Update 00-crypt.sh

omnipresent use of CRYPTSETUP_BIN
master
t0b3 11 years ago
parent daebb4a970
commit c9257fc9db

@ -118,7 +118,7 @@ _open_luks() {
luks_device="${luks_dev}" # otherwise hope... luks_device="${luks_dev}" # otherwise hope...
setup_md_device "${luks_device}" 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" bad_msg "${luks_device} does not contain a LUKS header"
dev_error=1 dev_error=1
continue; continue;

Loading…
Cancel
Save