remove-fix
This commit is contained in:
parent
ce6f7674e9
commit
5e14b27bfa
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue