FedP2P/fs/unwedge-tests.sh

6 lines
105 B
Bash
Raw Normal View History

2014-12-04 02:52:08 +08:00
shopt -s nullglob
for a in "${TMPDIR:-/tmp}"/torrentfs*; do
2014-12-04 02:52:08 +08:00
sudo umount -f "$a/mnt"
rm -r -- "$a"
done