From: Silvio Rhatto Date: Tue, 27 Sep 2011 22:12:35 +0000 (-0300) Subject: Minor fix X-Git-Tag: 0.1~267 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=b5a163cda0c19468724d05e7bbc1995787cb6ab2;p=hydra.git Minor fix --- 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 }