diff options
author | MatMoul <matmoul@gmail.com> | 2015-11-01 18:55:33 +0100 |
---|---|---|
committer | MatMoul <matmoul@gmail.com> | 2015-11-01 18:55:33 +0100 |
commit | 3a44e7192c06a40e37b445eaa08862c1d94f75a2 (patch) | |
tree | e87edbbb8cde582a407f4f9a850f21b613d78d75 | |
parent | b87edc6fbc511e2b4959d598b8160c84601835a4 (diff) | |
download | hyperfi-3a44e7192c06a40e37b445eaa08862c1d94f75a2.tar.lz hyperfi-3a44e7192c06a40e37b445eaa08862c1d94f75a2.tar.xz hyperfi-3a44e7192c06a40e37b445eaa08862c1d94f75a2.zip |
Correct bug on LUKS bad confirmation
-rw-r--r-- | archfi | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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=() |