From 3f44ed8c433de47e65d6af5ff8685fc8b6ca39b1 Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Wed, 3 Dec 2014 12:52:08 -0600 Subject: [PATCH] Improve fs/unwedge tests --- fs/unwedge-tests | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/fs/unwedge-tests b/fs/unwedge-tests index 692c8fbe..69dacc89 100755 --- a/fs/unwedge-tests +++ b/fs/unwedge-tests @@ -1 +1,5 @@ -for a in /tmp/torrentfs*; do sudo umount -f "$a/mnt"; done \ No newline at end of file +shopt -s nullglob +for a in /tmp/torrentfs*; do + sudo umount -f "$a/mnt" + rm -r -- "$a" +done \ No newline at end of file -- 2.48.1