From 58a729b742c4ffca730ba79752212ca824fe8652 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 27 Sep 2011 18:53:30 -0300 Subject: Temp file might be a folder --- lib/hydra/tmpfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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." -- cgit v1.2.3