remove-fix

This commit is contained in:
simono41 2018-03-04 18:46:25 +01:00
parent ce6f7674e9
commit 5e14b27bfa

View file

@ -68,6 +68,9 @@ function secureumount() {
umount ${mountpoint}/boot umount ${mountpoint}/boot
umount ${mountpoint} umount ${mountpoint}
fi fi
if cat /proc/mounts | grep /dev/mapper/luks0 > /dev/null; then
cryptsetup remove /dev/mapper/luks0
fi
fi fi