From d7ab2d82be9251d027f2eaa8526753564a328a3d Mon Sep 17 00:00:00 2001 From: simono41 Date: Sun, 8 Apr 2018 21:25:09 +0200 Subject: [PATCH] fix --- arch-install | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch-install b/arch-install index 13e0bef..76c8d27 100755 --- a/arch-install +++ b/arch-install @@ -55,8 +55,12 @@ function secureumount() { #umount -R /mnt fi elif [ "${dateisystem}" == "ext4" ]; then - if cat /proc/mounts | grep ${mountpoint} > /dev/null; then + + if cat /proc/mounts | grep ${mountpoint}/boot > /dev/null; then umount ${mountpoint}/boot + fi + + if cat /proc/mounts | grep ${mountpoint} > /dev/null; then umount ${mountpoint} fi fi