diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-09-27 18:53:30 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-09-27 18:53:30 -0300 |
commit | 58a729b742c4ffca730ba79752212ca824fe8652 (patch) | |
tree | 4a6ebf805c170e930e45c0f51f96f721bc5ffebc | |
parent | c15099e488b7a02998731f381f47ddad6f60ded9 (diff) | |
download | hydra-58a729b742c4ffca730ba79752212ca824fe8652.tar.gz hydra-58a729b742c4ffca730ba79752212ca824fe8652.tar.bz2 |
Temp file might be a folder
-rw-r--r-- | lib/hydra/tmpfile | 2 |
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." |