diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-09-27 19:12:35 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-09-27 19:12:35 -0300 |
commit | b5a163cda0c19468724d05e7bbc1995787cb6ab2 (patch) | |
tree | fc8d3128df39d6fe06eaf86f7400f36811496d1c /lib | |
parent | b02db7e042128e8e052270d7a12ff7f4f897a4a4 (diff) | |
download | hydra-b5a163cda0c19468724d05e7bbc1995787cb6ab2.tar.gz hydra-b5a163cda0c19468724d05e7bbc1995787cb6ab2.tar.bz2 |
Minor fix
Diffstat (limited to 'lib')
-rw-r--r-- | lib/hydra/tmpfile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/hydra/tmpfile b/lib/hydra/tmpfile index 1ffe73e..0ac7402 100644 --- a/lib/hydra/tmpfile +++ b/lib/hydra/tmpfile @@ -37,10 +37,11 @@ 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." exit 1 fi + + rmdir $BASEDIR/tmp &> /dev/null } |