From: Ulas Kozat Date: Mon, 8 Aug 2016 23:32:11 +0000 (-0700) Subject: Take trap statement inside the if clause X-Git-Tag: colorado.1.0~7 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F83%2F18183%2F1;p=domino.git Take trap statement inside the if clause Change-Id: If02f46e483c46be9169a0a541908c82705f6c908 Signed-off-by: Ulas Kozat --- diff --git a/tests/run_multinode.sh b/tests/run_multinode.sh index 4f4f075..43466b7 100755 --- a/tests/run_multinode.sh +++ b/tests/run_multinode.sh @@ -123,9 +123,8 @@ launch_domino() { echo "domino/tests/run_multinode.sh has been executed." -trap cleanup EXIT - if [ "$IS_IPandKEY_CONFIGURED" = "true" ]; then + trap cleanup EXIT cleanup prepare_testenv