Correct bug on LUKS bad confirmation

This commit is contained in:
MatMoul 2015-11-01 18:53:01 +01:00
parent 938e10d32d
commit b87edc6fbc

8
archfi
View file

@ -571,10 +571,18 @@ formatdevice(){
echo "$txtcreateluksdevice"
echo "cryptsetup luksFormat $2"
cryptsetup luksFormat $2
if [ ! "$?" = "0"];then
pressanykey
return 0
fi
echo ""
echo "$txtopenluksdevice"
echo "cryptsetup luksOpen $2 $1"
cryptsetup luksOpen $2 $1
if [ ! "$?" = "0"];then
pressanykey
return 0
fi
options=()
options+=("normal" "")
options+=("fast" "")