aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--archfi6
1 files changed, 4 insertions, 2 deletions
diff --git a/archfi b/archfi
index 33b7cfc..28487ba 100644
--- a/archfi
+++ b/archfi
@@ -571,18 +571,20 @@ formatdevice(){
echo "$txtcreateluksdevice"
echo "cryptsetup luksFormat $2"
cryptsetup luksFormat $2
- pressanykey
if [ ! "$?" = "0" ]; then
+ pressanykey
return 0
fi
+ pressanykey
echo ""
echo "$txtopenluksdevice"
echo "cryptsetup luksOpen $2 $1"
cryptsetup luksOpen $2 $1
- pressanykey
if [ ! "$?" = "0" ]; then
+ pressanykey
return 0
fi
+ pressanykey
options=()
options+=("normal" "")
options+=("fast" "")