Browse Source

fix: rogue doubling of arguments.

raw-remaining-args
Valentin Lab 6 years ago
parent
commit
94815085a8
  1. 2
      bin/compose

2
bin/compose

@ -2893,7 +2893,7 @@ export SERVICE_PACK="${services[*]}"
case "$action" in case "$action" in
up|start|stop|build|run) up|start|stop|build|run)
if [[ "$action" == "up" ]] && ! array_member action_opts -d; then ## force daemon mode for up if [[ "$action" == "up" ]] && ! array_member action_opts -d; then ## force daemon mode for up
action_opts+=("-d" "${action_opts[@]}")
action_opts+=("-d")
fi fi
launch_docker_compose "${compose_opts[@]}" "$action" "${action_opts[@]}" "${action_posargs[@]}" "${remainder_args[@]}" launch_docker_compose "${compose_opts[@]}" "$action" "${action_opts[@]}" "${action_posargs[@]}" "${remainder_args[@]}"
;; ;;

Loading…
Cancel
Save