summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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."