]> gitweb.fluxo.info Git - hydra.git/commitdiff
Temp file might be a folder
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 27 Sep 2011 21:53:30 +0000 (18:53 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 27 Sep 2011 21:53:30 +0000 (18:53 -0300)
lib/hydra/tmpfile

index 886d61cb15d99f8c78def599192e93389303af44..bdfbd53362346e6f4cbd0ae9dc283c36f6dd038e 100644 (file)
@@ -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."