From 96362fabb256c6c14907f9c902c5a189745da8d5 Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Wed, 28 Nov 2018 10:42:56 +0100 Subject: [PATCH] fix: dev: don't hide unexpected errors when launching docker in ``wait_for_tcp_port``. --- bin/compose-core | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/compose-core b/bin/compose-core index f3725ef..b0e9d31 100755 --- a/bin/compose-core +++ b/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