Browse Source

fix: dev: be sure to catch error.

hostresources
Valentin Lab 5 years ago
parent
commit
2e9d1613fc
  1. 4
      bin/compose-core

4
bin/compose-core

@ -3912,8 +3912,8 @@ if [ "$full_init" ]; then
## Get relations
if [ -z "$no_relations" ]; then
if [ "${#rebuild_relations_to_service[@]}" != 0 ]; then
rebuild_relations_to_service=(
$(get_master_services "${rebuild_relations_to_service[@]}"))
rebuild_relations_to_service=$(get_master_services "${rebuild_relations_to_service[@]}") || return 1
rebuild_relations_to_service=($rebuild_relations_to_service)
project=$(get_default_project_name) || return 1
for service in "${rebuild_relations_to_service[@]}"; do
for dir in "$VARDIR/relations/$project/"*"-${service}/"*; do

Loading…
Cancel
Save