Correct bug on LUKS bad confirmation

This commit is contained in:
MatMoul 2015-11-01 18:55:33 +01:00
parent b87edc6fbc
commit 3a44e7192c

8
archfi
View file

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