From b0cf9bb75ad6721cbf72694b362a0a50863977a9 Mon Sep 17 00:00:00 2001 From: MatMoul Date: Sun, 1 Nov 2015 19:05:10 +0100 Subject: [PATCH] Correct bug on LUKS bad confirmation --- archfi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/archfi b/archfi index 28487ba..3ce56d0 100644 --- a/archfi +++ b/archfi @@ -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=()