From 3e7a4434be0f2cbe9591b2f4f46f0defced69f92 Mon Sep 17 00:00:00 2001 From: jedi Date: Wed, 29 Jan 2020 21:40:53 +0100 Subject: [PATCH] wip --- entry.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/entry.sh b/entry.sh index 46355c2..246ef67 100755 --- a/entry.sh +++ b/entry.sh @@ -11,9 +11,9 @@ function first_stage(){ echo -n luks_password: read -s luks_password - if [ -b /dev/mapper/cryptlvm ]; then + if [[ -b /dev/mapper/cryptlvm ]]; then cryptsetup luksClose cryptlvm - close + fi wipefs -a ${DEVICE}