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