Browse Source

fix: [compose-core] replace rogue ``return`` to ``exit``

master
Valentin Lab 3 weeks ago
parent
commit
a4bc529ce3
  1. 4
      bin/compose-core

4
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)

Loading…
Cancel
Save