From 90d7cd83015b579cb0e0036a681bb5aa07363107 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20M=C3=BCller?= Date: Tue, 20 Jul 2021 11:09:23 +0000 Subject: [PATCH] Update util-iso-mount.sh --- lib/util-iso-mount.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/util-iso-mount.sh b/lib/util-iso-mount.sh index 9685565..0c31084 100644 --- a/lib/util-iso-mount.sh +++ b/lib/util-iso-mount.sh @@ -60,7 +60,8 @@ mount_fs_net(){ } check_umount() { - if [[ mountpoint -q "$1" ]]; then + if mountpoint -q "$1" + then umount -l "$1" fi }