explicitly detach loop device on umount also for 'miso_loop_mnt'

This commit is contained in:
Philip 2015-09-20 01:05:17 +02:00
parent c54915e2bc
commit 93a1436c6d

View file

@ -35,6 +35,6 @@ miso_loop_mount_handler () {
msg "::: Deataching loop device ${_dev_loop}"
losetup -d ${_dev_loop}
msg "::: Unmounting ${img_dev}"
umount ${img_dev}
umount -d ${img_dev}
fi
}