Correct bug on LUKS bad confirmation
This commit is contained in:
parent
b87edc6fbc
commit
3a44e7192c
1 changed files with 4 additions and 4 deletions
4
archfi
4
archfi
|
@ -571,16 +571,16 @@ formatdevice(){
|
||||||
echo "$txtcreateluksdevice"
|
echo "$txtcreateluksdevice"
|
||||||
echo "cryptsetup luksFormat $2"
|
echo "cryptsetup luksFormat $2"
|
||||||
cryptsetup luksFormat $2
|
cryptsetup luksFormat $2
|
||||||
if [ ! "$?" = "0"];then
|
|
||||||
pressanykey
|
pressanykey
|
||||||
|
if [ ! "$?" = "0" ]; then
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
echo ""
|
echo ""
|
||||||
echo "$txtopenluksdevice"
|
echo "$txtopenluksdevice"
|
||||||
echo "cryptsetup luksOpen $2 $1"
|
echo "cryptsetup luksOpen $2 $1"
|
||||||
cryptsetup luksOpen $2 $1
|
cryptsetup luksOpen $2 $1
|
||||||
if [ ! "$?" = "0"];then
|
|
||||||
pressanykey
|
pressanykey
|
||||||
|
if [ ! "$?" = "0" ]; then
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
options=()
|
options=()
|
||||||
|
|
Loading…
Reference in a new issue