summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-09-27 19:02:17 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-09-27 19:02:17 -0300
commitef1d22f0fddeac9be4846e20e218bcf08312e9e2 (patch)
tree3cc768767544cc773016819b8b2683573bcb98fc
parent78b95ea775875385c7ac364046380e8bc11081f9 (diff)
downloadhydra-ef1d22f0fddeac9be4846e20e218bcf08312e9e2.tar.gz
hydra-ef1d22f0fddeac9be4846e20e218bcf08312e9e2.tar.bz2
Try to remove parent tmp folder
-rw-r--r--lib/hydra/tmpfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/hydra/tmpfile b/lib/hydra/tmpfile
index bdfbd53..1ffe73e 100644
--- a/lib/hydra/tmpfile
+++ b/lib/hydra/tmpfile
@@ -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."