From 538599e5b8aed64b226ee993806d0a59c51ba045 Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Sat, 30 Jan 2016 21:11:26 +0700 Subject: [PATCH] fix: hidden error exit from export. --- bin/compose | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/compose b/bin/compose index a86a410..a228507 100755 --- a/bin/compose +++ b/bin/compose @@ -1796,7 +1796,8 @@ done export CHARM_STORE=${CHARM_STORE:-/srv/charm-store} export DOCKER_DATASTORE=${DOCKER_DATASTORE:-/srv/docker-datastore} -export COMPOSE_YML_FILE=$(get_compose_yml_location) || exit 1 +COMPOSE_YML_FILE=$(get_compose_yml_location) || exit 1 +export COMPOSE_YML_FILE debug "Found 'compose.yml' file in '$COMPOSE_YML_FILE'." output=$(shyaml get-value < "$COMPOSE_YML_FILE" 2>&1)