aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-09-27 18:53:30 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-09-27 18:53:30 -0300
commit58a729b742c4ffca730ba79752212ca824fe8652 (patch)
tree4a6ebf805c170e930e45c0f51f96f721bc5ffebc
parentc15099e488b7a02998731f381f47ddad6f60ded9 (diff)
downloadhydra-58a729b742c4ffca730ba79752212ca824fe8652.tar.gz
hydra-58a729b742c4ffca730ba79752212ca824fe8652.tar.bz2
Temp file might be a folder
-rw-r--r--lib/hydra/tmpfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hydra/tmpfile b/lib/hydra/tmpfile
index 886d61c..bdfbd53 100644
--- a/lib/hydra/tmpfile
+++ b/lib/hydra/tmpfile
@@ -36,7 +36,7 @@ function hydra_unset_tmpfile {
echo "No tmp file set"
fi
- rm -f $1
+ rm -rf $1
if [ "$?" != "0" ]; then
echo "Warning: could not delete file $1. Please delete it manually as it might have sensitive information."