aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatMoul <matmoul@gmail.com>2015-11-01 18:55:33 +0100
committerMatMoul <matmoul@gmail.com>2015-11-01 18:55:33 +0100
commit3a44e7192c06a40e37b445eaa08862c1d94f75a2 (patch)
treee87edbbb8cde582a407f4f9a850f21b613d78d75
parentb87edc6fbc511e2b4959d598b8160c84601835a4 (diff)
downloadhyperfi-3a44e7192c06a40e37b445eaa08862c1d94f75a2.tar.lz
hyperfi-3a44e7192c06a40e37b445eaa08862c1d94f75a2.tar.xz
hyperfi-3a44e7192c06a40e37b445eaa08862c1d94f75a2.zip
Correct bug on LUKS bad confirmation
-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=()