diff options
-rw-r--r-- | functions.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/functions.sh b/functions.sh index 8af5f07..65bf6fb 100644 --- a/functions.sh +++ b/functions.sh @@ -65,6 +65,10 @@ download_iso() { } mount_iso() { + if findmnt "$ISOMNT" > /dev/null + then + umount_iso + fi udevil mount "isofiles/$ISOFILE" "$ISOMNT" } |