aboutsummaryrefslogtreecommitdiff
path: root/sh/rc-mount.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sh/rc-mount.sh')
-rw-r--r--sh/rc-mount.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/sh/rc-mount.sh b/sh/rc-mount.sh
index 940e5e5f..da2e20e0 100644
--- a/sh/rc-mount.sh
+++ b/sh/rc-mount.sh
@@ -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)