diff options
author | MatMoul <matmoul@gmail.com> | 2015-11-01 19:05:10 +0100 |
---|---|---|
committer | MatMoul <matmoul@gmail.com> | 2015-11-01 19:05:10 +0100 |
commit | b0cf9bb75ad6721cbf72694b362a0a50863977a9 (patch) | |
tree | 329002970682f154b672b9a125a36c040d9e72d4 | |
parent | 12add1c76542feecebc5f5b00b9716b363192ac7 (diff) | |
download | hyperfi-b0cf9bb75ad6721cbf72694b362a0a50863977a9.tar.lz hyperfi-b0cf9bb75ad6721cbf72694b362a0a50863977a9.tar.xz hyperfi-b0cf9bb75ad6721cbf72694b362a0a50863977a9.zip |
Correct bug on LUKS bad confirmation
-rw-r--r-- | archfi | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -573,7 +573,7 @@ formatdevice(){ cryptsetup luksFormat $2 if [ ! "$?" = "0" ]; then pressanykey - return 0 + return 1 fi pressanykey echo "" @@ -582,7 +582,7 @@ formatdevice(){ cryptsetup luksOpen $2 $1 if [ ! "$?" = "0" ]; then pressanykey - return 0 + return 1 fi pressanykey options=() |