Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archiso/hooks
diff options
context:
space:
mode:
Diffstat (limited to 'archiso/hooks')
-rw-r--r--archiso/hooks/archiso2
1 files changed, 1 insertions, 1 deletions
diff --git a/archiso/hooks/archiso b/archiso/hooks/archiso
index 839be9b..d03914a 100644
--- a/archiso/hooks/archiso
+++ b/archiso/hooks/archiso
@@ -167,7 +167,7 @@ archiso_mount_handler() {
_init_loop_dev
- _mnt_dev "${archisodevice}" "/run/archiso/bootmnt" "-r"
+ mountpoint -q "/run/archiso/bootmnt" || _mnt_dev "${archisodevice}" "/run/archiso/bootmnt" "-r"
if [[ ! -f "${aitab}" ]]; then
echo "ERROR: '${aitab}' file does not exist."