Correct bug on LUKS bad confirmation
This commit is contained in:
parent
3a44e7192c
commit
12add1c765
6
archfi
6
archfi
@ -571,18 +571,20 @@ formatdevice(){
|
|||||||
echo "$txtcreateluksdevice"
|
echo "$txtcreateluksdevice"
|
||||||
echo "cryptsetup luksFormat $2"
|
echo "cryptsetup luksFormat $2"
|
||||||
cryptsetup luksFormat $2
|
cryptsetup luksFormat $2
|
||||||
pressanykey
|
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
pressanykey
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
pressanykey
|
||||||
echo ""
|
echo ""
|
||||||
echo "$txtopenluksdevice"
|
echo "$txtopenluksdevice"
|
||||||
echo "cryptsetup luksOpen $2 $1"
|
echo "cryptsetup luksOpen $2 $1"
|
||||||
cryptsetup luksOpen $2 $1
|
cryptsetup luksOpen $2 $1
|
||||||
pressanykey
|
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
|
pressanykey
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
pressanykey
|
||||||
options=()
|
options=()
|
||||||
options+=("normal" "")
|
options+=("normal" "")
|
||||||
options+=("fast" "")
|
options+=("fast" "")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user