From 115df251a528b94db589016c07d7722fea484af1 Mon Sep 17 00:00:00 2001 From: yangyan Date: Fri, 28 Feb 2020 19:50:19 +0800 Subject: Change the MSB registration switch to the environment variable acquisition mode and fix typo error Change-Id: Ifa0f27a999c7000f61c65d0a036979b5398090cc Issue-ID: VFC-1601 Signed-off-by: yangyan --- res/docker/docker-entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'res/docker/docker-entrypoint.sh') diff --git a/res/docker/docker-entrypoint.sh b/res/docker/docker-entrypoint.sh index ec53bd9..60abc80 100755 --- a/res/docker/docker-entrypoint.sh +++ b/res/docker/docker-entrypoint.sh @@ -20,8 +20,8 @@ echo "MYSQL_ADDR=$MYSQL_ADDR" # Wait for MSB initialization echo "Wait for MSB initialization" for i in {1..5}; do - curl -sS -m 1 $MSB_PROTO:$MSB_ADDR/msb -k > /dev/null - res=$i? + curl -sS -m 1 $MSB_PROTO://$MSB_ADDR/msb -k > /dev/null + res=$? if [ $res -ne 0 ]; then break fi -- cgit 1.2.3-korg