From: Silvio Rhatto Date: Tue, 27 Sep 2011 22:02:17 +0000 (-0300) Subject: Try to remove parent tmp folder X-Git-Tag: 0.1~270 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=ef1d22f0fddeac9be4846e20e218bcf08312e9e2;p=hydra.git Try to remove parent tmp folder --- 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."