Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/hooks
diff options
context:
space:
mode:
Diffstat (limited to 'hooks')
-rw-r--r--hooks/archiso2
-rw-r--r--hooks/archiso_loop_mnt2
2 files changed, 2 insertions, 2 deletions
diff --git a/hooks/archiso b/hooks/archiso
index fcfe820..23459e7 100644
--- a/hooks/archiso
+++ b/hooks/archiso
@@ -182,7 +182,7 @@ archiso_mount_handler() {
fi
if [[ "${copytoram}" == "y" ]]; then
- umount /run/archiso/bootmnt
+ umount -d /run/archiso/bootmnt
fi
}
diff --git a/hooks/archiso_loop_mnt b/hooks/archiso_loop_mnt
index a02cfac..46338e5 100644
--- a/hooks/archiso_loop_mnt
+++ b/hooks/archiso_loop_mnt
@@ -26,7 +26,7 @@ archiso_loop_mount_handler () {
archiso_mount_handler ${newroot}
if [[ "${copytoram}" == "y" ]]; then
- losetup -d ${_dev_loop}
+ losetup -d ${_dev_loop} 2>/dev/null
umount /run/archiso/img_dev
fi
}