From d84f1836684f74115d7f17d4bde1ee94c8d7a79f Mon Sep 17 00:00:00 2001 From: Ulas Kozat Date: Mon, 8 Aug 2016 16:32:11 -0700 Subject: Take trap statement inside the if clause Change-Id: If02f46e483c46be9169a0a541908c82705f6c908 Signed-off-by: Ulas Kozat --- tests/run_multinode.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests') 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 -- cgit 1.2.3-korg