forked from mirrored-repos/manjaro-tools
Update util-iso-mount.sh
- try different approach
This commit is contained in:
parent
f905232812
commit
343fea66e3
1 changed files with 3 additions and 1 deletions
|
@ -65,7 +65,9 @@ umount_fs(){
|
|||
mount
|
||||
info "overlayfs umount: [%s]" "${FS_ACTIVE_MOUNTS[@]}"
|
||||
info "proc mounts: [%s]" "$(cat /proc/mounts | awk '{print$2}' | sort -r)"
|
||||
umount -f "${FS_ACTIVE_MOUNTS[@]}"
|
||||
info "proc mounts (overlay): [%s]" "$(grep overlay /proc/mounts | awk '{print$2}' | sort -r)"
|
||||
#umount "${FS_ACTIVE_MOUNTS[@]}"
|
||||
umount -l "$(grep overlay /proc/mounts | awk '{print$2}' | sort -r)"
|
||||
unset FS_ACTIVE_MOUNTS
|
||||
rm -rf "${mnt_dir}/work"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue