Skip to content

Commit 27792f4

Browse files
Llewellynvdmjaromil
authored andcommitted
Fix umount issue when path have spaces in directory or file name
1 parent 8be3163 commit 27792f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tomb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3141,7 +3141,7 @@ umount_tomb() {
31413141
bind_mapper="${b[(ws:;:)1]}"
31423142
bind_mount="${b[(ws:;:)2]}"
31433143
_message "Closing tomb bind hook: ::1 hook::" "$bind_mount"
3144-
_sudo umount "$bind_mount" ||
3144+
_sudo umount "$(echo "$bind_mount")" ||
31453145
_failure "Tomb bind hook ::1 hook:: is busy, cannot close tomb." "$bind_mount"
31463146
done
31473147

0 commit comments

Comments
 (0)