From 654d6733ac384fac5313c964c0eb87863807915f Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Sun, 25 Nov 2018 22:19:03 +0100 Subject: [PATCH] fix: dev: function should use ``return``, not ``exit``. --- bin/compose | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/compose b/bin/compose index 388b784..d9d3728 100755 --- a/bin/compose +++ b/bin/compose @@ -2293,7 +2293,7 @@ get_compose_yml_content() { err "Unexpected error while running 'shyaml get-value' on '$COMPOSE_YML_FILE':" echo "$output" | prefix " $GRAY|$NORMAL " } - exit 1 + return 1 fi echo "$COMPOSE_YML_CONTENT" | tee "$cache_file" || return 1 }