From: Michael Chapman Date: Wed, 17 Feb 2016 12:53:16 +0000 (+1100) Subject: Ensure shell doesn't exit even when eval succeeds X-Git-Tag: colorado.1.0~279 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=bc44e8d441cf239f3a8ed6e6f4f924be2ef18c41;p=apex.git Ensure shell doesn't exit even when eval succeeds Change-Id: I38416967c72b03ae443d3ffa9e24fa23ad24ff74 --- diff --git a/ci/deploy.sh b/ci/deploy.sh index f7b30a1e..931881da 100755 --- a/ci/deploy.sh +++ b/ci/deploy.sh @@ -303,7 +303,7 @@ parse_inventory_file() { exit 1 fi - eval $(parse_yaml $INVENTORY_FILE) || echo "${red}Failed to parse inventory.yaml. Aborting.${reset}" && exit 1 + eval $(parse_yaml $INVENTORY_FILE) || ( echo "${red}Failed to parse inventory.yaml. Aborting.${reset}" && exit 1 ) instack_env_output=" {