From 0330936bce07721697c4890bd338339b6ad9595c Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Wed, 4 Oct 2023 16:02:15 +0200 Subject: [PATCH] fix: dev: [compose-core] remove useless code !minor --- bin/compose-core | 4 ---- 1 file changed, 4 deletions(-) diff --git a/bin/compose-core b/bin/compose-core index 5b4f10b..e56228a 100755 --- a/bin/compose-core +++ b/bin/compose-core @@ -2112,10 +2112,6 @@ get_service_relations () { printf "%s\0" "$rn" "$ts" "$rc" "$td" done < <(cat "$ALL_RELATIONS") > "$cache_file" - if [ "$?" != 0 ]; then - rm -f "$cache_file" ## no cache - return 1 - fi cat "$cache_file" } export -f get_service_relations