Browse Source

fix: rogue doubling of arguments.

test
Valentin Lab 6 years ago
parent
commit
de1087a025
  1. 2
      bin/compose

2
bin/compose

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

Loading…
Cancel
Save