From c4e8a45183a51114c5fe9259ab23ea7c9ecc936c Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Thu, 15 Nov 2018 11:59:58 +0100 Subject: [PATCH] chg: dev: change the comment place !minor --- bin/compose | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/compose b/bin/compose index 03e5df8..5182f0d 100755 --- a/bin/compose +++ b/bin/compose @@ -3019,9 +3019,11 @@ 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 + ## force daemon mode for up + if [[ "$action" == "up" ]] && ! array_member action_opts -d; then action_opts+=("-d") fi + launch_docker_compose "${compose_opts[@]}" "$action" "${action_opts[@]}" "${action_posargs[@]}" "${remainder_args[@]}" ;; logs)