diff options
author | 2020-02-27 17:16:18 +0800 | |
---|---|---|
committer | 2020-02-27 09:38:26 +0000 | |
commit | 4c86f50e1a6b7f2f95f400d9836f2ad79b57c3dd (patch) | |
tree | d41740e96cf0444468742a97e2876e2c6b26e421 /docker/docker-entrypoint.sh | |
parent | 0c892a56660eadc52a62b7e2cbba2f7967ab5b53 (diff) |
Fix typo error
Change-Id: I123f1de3a33c006668d0a12952898fe50edf6f4b
Issue-ID: VFC-1621
Signed-off-by: yangyan <yangyanyj@chinamobile.com>
Diffstat (limited to 'docker/docker-entrypoint.sh')
-rwxr-xr-x | docker/docker-entrypoint.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docker/docker-entrypoint.sh b/docker/docker-entrypoint.sh index 7c8ba9ac..c0f2d8f0 100755 --- a/docker/docker-entrypoint.sh +++ b/docker/docker-entrypoint.sh @@ -23,8 +23,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 |