index : mkinitcpio-archiso32 | |
Archlinux32 initcpio scripts used by archiso | gitolite user |
summaryrefslogtreecommitdiff |
author | Christian Hesse <mail@eworm.de> | 2015-05-28 08:59:41 +0200 |
---|---|---|
committer | Gerardo Exequiel Pozzi <vmlinuz386@gmail.com> | 2015-05-29 13:10:37 -0300 |
commit | 68f5217346d6a2da96ce13408682e081193b7b26 (patch) | |
tree | b7487e4c5c576ee309e3b3a0721fb80b74a707c3 /hooks | |
parent | c78d8723dab0fcaac2c6d28515572734682c6311 (diff) |
-rw-r--r-- | hooks/archiso | 2 | ||||
-rw-r--r-- | hooks/archiso_loop_mnt | 2 |
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 } |