From 9dbd23a23e6fc17c6a07665c04a863e3b75e60dd Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Tue, 24 Dec 2024 14:48:35 +0100 Subject: [PATCH] fix: [compose-core] force output message to stderr --- bin/compose-core | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/compose-core b/bin/compose-core index acc8372..651bdc8 100755 --- a/bin/compose-core +++ b/bin/compose-core @@ -5612,7 +5612,7 @@ aexport remainder_args if [ -n "$DEBUG" ]; then Elt "compute hashes" start=$(time_now) -fi +fi >&2 COMPOSE_YML_FILE=$(get_compose_yml_location) || exit 1 COMPOSE_YML_CONTENT=$(get_compose_yml_content) || exit 1 @@ -5625,7 +5625,7 @@ if [ -n "$DEBUG" ]; then elapsed="$(time_elapsed $start "$(time_now)")" || exit 1 print_info "$(printf "%.3fs" "$elapsed")" Feedback -fi +fi >&2 charm.sanity_checks || die "Sanity checks about charm-store failed. Please correct." @@ -5789,7 +5789,7 @@ if [ "$action" != "down" ]; then if [ -n "$DEBUG" ]; then Elt "get relation subset" start=$(time_now) - fi + fi >&2 get_subset_relations "${services_args[@]}" >/dev/null || exit 1 @@ -5797,7 +5797,7 @@ if [ "$action" != "down" ]; then elapsed="$(time_elapsed $start "$(time_now)")" || exit 1 print_info "$(printf "%.3fs" "$elapsed")" Feedback - fi + fi >&2 fi if [ -n "$is_docker_compose_action" ] && [ "${#services_args[@]}" -gt 0 ]; then services=($(get_master_services "${services_args[@]}")) || exit 1