fs/unwedge-tests | 6 +++++- diff --git a/fs/unwedge-tests b/fs/unwedge-tests index 692c8fbefc946c5a2715dab0516d9ff21ce028a5..69dacc89ea97e2aed172062352b56795a05ab3f1 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