diff --git a/bin/compose-core b/bin/compose-core index 5bb9b88..f08377d 100755 --- a/bin/compose-core +++ b/bin/compose-core @@ -2685,7 +2685,7 @@ get_all_relations () { _out_new_relation_from_defs "$service" "$relation_name" "$ts" \ "${providers_def[0]}" "$relation_def" \ - >> "${cache_file}.wip" + >> "${cache_file}.wip" || return 1 ## Adding service [ "${services[$ts]}" ] && continue @@ -2776,7 +2776,7 @@ get_all_relations () { _out_new_relation_from_defs "$service" "$relation_name" "$ts" \ "${providers_def[0]}" "$relation_def" \ - >> "${cache_file}.wip" + >> "${cache_file}.wip" || return 1 ## Adding service [ "${services[$ts]}" ] && continue