Update util-iso-mount.sh

- add more debug
This commit is contained in:
Philip Müller 2021-07-19 18:03:59 +00:00
parent 2d0a4ead94
commit b7b4f48e3a

View file

@ -61,8 +61,10 @@ mount_fs_net(){
umount_fs(){ umount_fs(){
if [[ -n ${FS_ACTIVE_MOUNTS[@]} ]]; then if [[ -n ${FS_ACTIVE_MOUNTS[@]} ]]; then
info "active mounts: [%s]" "${FS_ACTIVE_MOUNTS}"
mount
info "overlayfs umount: [%s]" "${FS_ACTIVE_MOUNTS[@]}" info "overlayfs umount: [%s]" "${FS_ACTIVE_MOUNTS[@]}"
umount "${FS_ACTIVE_MOUNTS[@]}" umount -f "${FS_ACTIVE_MOUNTS[@]}"
unset FS_ACTIVE_MOUNTS unset FS_ACTIVE_MOUNTS
rm -rf "${mnt_dir}/work" rm -rf "${mnt_dir}/work"
fi fi