diff options
author | MatMoul <matmoul@gmail.com> | 2015-11-01 18:53:01 +0100 |
---|---|---|
committer | MatMoul <matmoul@gmail.com> | 2015-11-01 18:53:01 +0100 |
commit | b87edc6fbc511e2b4959d598b8160c84601835a4 (patch) | |
tree | c1a20d846fdeada28eb525b96bb9d0aa1b979c6d | |
parent | 938e10d32de04439948bee8637e130cca794a59f (diff) | |
download | hyperfi-b87edc6fbc511e2b4959d598b8160c84601835a4.tar.lz hyperfi-b87edc6fbc511e2b4959d598b8160c84601835a4.tar.xz hyperfi-b87edc6fbc511e2b4959d598b8160c84601835a4.zip |
Correct bug on LUKS bad confirmation
-rw-r--r-- | archfi | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -571,10 +571,18 @@ formatdevice(){ echo "$txtcreateluksdevice" echo "cryptsetup luksFormat $2" cryptsetup luksFormat $2 + if [ ! "$?" = "0"];then + pressanykey + return 0 + fi echo "" echo "$txtopenluksdevice" echo "cryptsetup luksOpen $2 $1" cryptsetup luksOpen $2 $1 + if [ ! "$?" = "0"];then + pressanykey + return 0 + fi options=() options+=("normal" "") options+=("fast" "") |