@ -152,7 +152,7 @@ setup_mountpoint() {
teardown_mountpoint() {
# Reverse the operations from setup_mountpoint
local mountpoint="$1"
local mountpoint=$(realpath "$1")
# ensure we have exactly one trailing slash, and escape all slashes for awk
mountpoint_match=$(echo "$mountpoint" | sed -e's,/$,,; s,/,\\/,g;')'\/'