From b5a163cda0c19468724d05e7bbc1995787cb6ab2 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 27 Sep 2011 19:12:35 -0300 Subject: Minor fix --- lib/hydra/tmpfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/hydra/tmpfile') 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 } -- cgit v1.2.3