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