correction for unmounting volumes with weird characters, thanks Brant
Gurganus <brant@gurganus.name>
This commit is contained in:
parent
d8a76d1bf6
commit
060b19e3e3
@ -26,6 +26,8 @@ do_unmount()
|
||||
# Unmounting a shared mount can unmount other mounts, so
|
||||
# we need to check the mount is still valid
|
||||
mountinfo --quiet "$mnt" || continue
|
||||
# Ensure we interpret all characters properly.
|
||||
mnt=$(printf "$mnt")
|
||||
|
||||
case "$cmd" in
|
||||
umount)
|
||||
|
Loading…
Reference in New Issue
Block a user