aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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."