From: Silvio Rhatto Date: Tue, 27 Sep 2011 21:53:30 +0000 (-0300) Subject: Temp file might be a folder X-Git-Tag: 0.1~276 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=58a729b742c4ffca730ba79752212ca824fe8652;p=hydra.git Temp file might be a folder --- 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."