Browse Source

fix: dev: don't hide unexpected errors when launching docker in ``wait_for_tcp_port``.

test
Valentin Lab 6 years ago
parent
commit
96362fabb2
  1. 2
      bin/compose-core

2
bin/compose-core

@ -709,7 +709,7 @@ wait_for_tcp_port() {
done
exit 0
EOF
if [ "$?" == 1 ]; then
if [ "$?" != 0 ]; then
err "${RED}timeout error${NORMAL}(${timeout}s):"\
"Could not connect to $host_port."
return 1

Loading…
Cancel
Save