mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-11-25 14:17:41 +00:00
Fix umount issue when path have spaces in directory or file name
This commit is contained in:
parent
8be3163022
commit
27792f4421
2
tomb
2
tomb
@ -3141,7 +3141,7 @@ umount_tomb() {
|
||||
bind_mapper="${b[(ws:;:)1]}"
|
||||
bind_mount="${b[(ws:;:)2]}"
|
||||
_message "Closing tomb bind hook: ::1 hook::" "$bind_mount"
|
||||
_sudo umount "$bind_mount" ||
|
||||
_sudo umount "$(echo "$bind_mount")" ||
|
||||
_failure "Tomb bind hook ::1 hook:: is busy, cannot close tomb." "$bind_mount"
|
||||
done
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user