summaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authoryangyan <yangyanyj@chinamobile.com>2020-02-27 17:16:18 +0800
committerYan Yang <yangyanyj@chinamobile.com>2020-02-27 09:38:26 +0000
commit4c86f50e1a6b7f2f95f400d9836f2ad79b57c3dd (patch)
treed41740e96cf0444468742a97e2876e2c6b26e421 /docker
parent0c892a56660eadc52a62b7e2cbba2f7967ab5b53 (diff)
Fix typo error
Change-Id: I123f1de3a33c006668d0a12952898fe50edf6f4b Issue-ID: VFC-1621 Signed-off-by: yangyan <yangyanyj@chinamobile.com>
Diffstat (limited to 'docker')
-rwxr-xr-xdocker/docker-entrypoint.sh4
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