summaryrefslogtreecommitdiff
path: root/test.bash
diff options
context:
space:
mode:
Diffstat (limited to 'test.bash')
-rwxr-xr-xtest.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/test.bash b/test.bash
index 305d135..e1046c4 100755
--- a/test.bash
+++ b/test.bash
@@ -19,7 +19,7 @@ fi
# Clean up dangling filesystems
source tests/fuse-unmount.bash
-for i in $(cat /proc/mounts | grep $TESTDIR | cut -f2 -d" "); do
+for i in $(mount | grep $TESTDIR | cut -f3 -d" "); do
echo "Warning: unmounting leftover filesystem: $i"
fuse-unmount $i
done