summaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorMichael Chapman <woppin@gmail.com>2016-02-17 23:53:16 +1100
committerMichael Chapman <woppin@gmail.com>2016-02-17 23:53:16 +1100
commitbc44e8d441cf239f3a8ed6e6f4f924be2ef18c41 (patch)
tree2c42cdf9ce053aa15fe2e71f1793d3f3f2883fc4 /ci
parent2dae8a5767161e194a19dc85065b4aa6013a1db2 (diff)
Ensure shell doesn't exit even when eval succeeds
Change-Id: I38416967c72b03ae443d3ffa9e24fa23ad24ff74
Diffstat (limited to 'ci')
-rwxr-xr-xci/deploy.sh2
1 files changed, 1 insertions, 1 deletions
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="
{