]> gitweb.fluxo.info Git - hydra.git/commitdiff
Try to remove parent tmp folder
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 27 Sep 2011 22:02:17 +0000 (19:02 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 27 Sep 2011 22:02:17 +0000 (19:02 -0300)
lib/hydra/tmpfile

index bdfbd53362346e6f4cbd0ae9dc283c36f6dd038e..1ffe73e2951305be475964939d820724a0791cd4 100644 (file)
@@ -37,6 +37,7 @@ function hydra_unset_tmpfile {
   fi
 
   rm -rf $1
+  rmdir $1/../tmp &> /dev/null
 
   if [ "$?" != "0" ]; then
     echo "Warning: could not delete file $1. Please delete it manually as it might have sensitive information."