Correct bug on LUKS bad confirmation
This commit is contained in:
4
archfi
4
archfi
@@ -573,7 +573,7 @@ formatdevice(){
|
||||
cryptsetup luksFormat $2
|
||||
if [ ! "$?" = "0" ]; then
|
||||
pressanykey
|
||||
return 0
|
||||
return 1
|
||||
fi
|
||||
pressanykey
|
||||
echo ""
|
||||
@@ -582,7 +582,7 @@ formatdevice(){
|
||||
cryptsetup luksOpen $2 $1
|
||||
if [ ! "$?" = "0" ]; then
|
||||
pressanykey
|
||||
return 0
|
||||
return 1
|
||||
fi
|
||||
pressanykey
|
||||
options=()
|
||||
|
||||
Reference in New Issue
Block a user