summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryangyan <yangyanyj@chinamobile.com>2020-02-28 20:03:37 +0800
committeryangyan <yangyanyj@chinamobile.com>2020-02-28 20:03:42 +0800
commit973ae3bb10bd3bed410ec6fd551b1291fee65721 (patch)
tree861f1b10dfea8afb7b7d383d099f227ce70a05b6
parent83678198b94ef2f3d56d9516d54bfc8b7fbbba6e (diff)
fix typo error
Change-Id: I5e134cf573a8e09cef26bf0180b0e919c2c9ebc3 Issue-ID: VFC-1601 Signed-off-by: yangyan <yangyanyj@chinamobile.com>
-rwxr-xr-xems/microservice-standalone/src/main/assembly/docker/docker-entrypoint.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/ems/microservice-standalone/src/main/assembly/docker/docker-entrypoint.sh b/ems/microservice-standalone/src/main/assembly/docker/docker-entrypoint.sh
index 0455dd6..9e4372d 100755
--- a/ems/microservice-standalone/src/main/assembly/docker/docker-entrypoint.sh
+++ b/ems/microservice-standalone/src/main/assembly/docker/docker-entrypoint.sh
@@ -15,8 +15,8 @@ echo "MSB_ADDR=$MSB_ADDR"
# Wait for MSB initialization
echo "Wait for MSB initialization"
for i in {1..20}; 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