From 5b810dfe4ce65b9351abc09c39fbf1ce614845c7 Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Mon, 21 Oct 2024 14:36:51 +0200 Subject: [PATCH] fix: [compose-core] prevent hard to debug issue with output leaking out --- bin/compose-core | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/compose-core b/bin/compose-core index 887e04c..b20f6da 100755 --- a/bin/compose-core +++ b/bin/compose-core @@ -2860,11 +2860,11 @@ get_all_relations () { declare -A services services_uses=() ## XXXvlab: bwerk, leveraging cache to be able to get the errorlevel here. - _get_services_uses "$@" || return 1 + _get_services_uses "$@" >/dev/null || return 1 array_read-0 services_uses < <(_get_services_uses "$@") services_provides=() ## XXXvlab: bwerk, leveraging cache to be able to get the errorlevel here. - _get_services_provides "$@" || return 1 + _get_services_provides "$@" >/dev/null || return 1 array_read-0 services_provides < <(_get_services_provides "$@") for service in "$@"; do