Skip to content

Commit

Permalink
Fix umount issue when path have spaces in directory or file name
Browse files Browse the repository at this point in the history
  • Loading branch information
Llewellynvdm authored and jaromil committed Jan 12, 2024
1 parent 8be3163 commit 27792f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tomb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 27792f4

Please sign in to comment.