From a4bc529ce3b346a804ae133f2e723abc530d3347 Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Wed, 4 Dec 2024 16:28:32 +0100 Subject: [PATCH] fix: [compose-core] replace rogue ``return`` to ``exit`` --- bin/compose-core | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/compose-core b/bin/compose-core index c248673..d9ab164 100755 --- a/bin/compose-core +++ b/bin/compose-core @@ -5656,13 +5656,13 @@ else case "$action" in ps|up) if [ "${#services_args[@]}" == 0 ]; then - services_args=($(compose:yml:root:services)) || return 1 + services_args=($(compose:yml:root:services)) || exit 1 fi ;; status) services_args=("${state_services[@]}") if [ "${#services_args[@]}" == 0 ] && [ -z "$state_all_services" ]; then - services_args=($(compose:yml:root:services)) || return 1 + services_args=($(compose:yml:root:services)) || exit 1 fi ;; config)