aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlas Kozat <ulas.kozat@gmail.com>2016-08-08 16:32:11 -0700
committerUlas Kozat <ulas.kozat@gmail.com>2016-08-08 16:32:11 -0700
commitd84f1836684f74115d7f17d4bde1ee94c8d7a79f (patch)
tree1a8d3aeaddc7828921ceafe27519d39c03117917
parented9b907664460e2f25be919a2c427457598b909e (diff)
Take trap statement inside the if clause
Change-Id: If02f46e483c46be9169a0a541908c82705f6c908 Signed-off-by: Ulas Kozat <ulas.kozat@gmail.com>
-rwxr-xr-xtests/run_multinode.sh3
1 files changed, 1 insertions, 2 deletions
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