Browse Source

fix: dev: function should use ``return``, not ``exit``.

test
Valentin Lab 6 years ago
parent
commit
654d6733ac
  1. 2
      bin/compose

2
bin/compose

@ -2293,7 +2293,7 @@ get_compose_yml_content() {
err "Unexpected error while running 'shyaml get-value' on '$COMPOSE_YML_FILE':" err "Unexpected error while running 'shyaml get-value' on '$COMPOSE_YML_FILE':"
echo "$output" | prefix " $GRAY|$NORMAL " echo "$output" | prefix " $GRAY|$NORMAL "
} }
exit 1
return 1
fi fi
echo "$COMPOSE_YML_CONTENT" | tee "$cache_file" || return 1 echo "$COMPOSE_YML_CONTENT" | tee "$cache_file" || return 1
} }

Loading…
Cancel
Save