From 5e14b27bfafc960450eebe75e3ec26b5009df1be Mon Sep 17 00:00:00 2001 From: simono41 Date: Sun, 4 Mar 2018 18:46:25 +0100 Subject: [PATCH] remove-fix --- arch-install | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch-install b/arch-install index 130d7e0..97c82cd 100755 --- a/arch-install +++ b/arch-install @@ -68,6 +68,9 @@ function secureumount() { umount ${mountpoint}/boot umount ${mountpoint} fi + if cat /proc/mounts | grep /dev/mapper/luks0 > /dev/null; then + cryptsetup remove /dev/mapper/luks0 + fi fi