@ -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