fix typo error 83/102583/1
authoryangyan <yangyanyj@chinamobile.com>
Fri, 28 Feb 2020 12:03:37 +0000 (20:03 +0800)
committeryangyan <yangyanyj@chinamobile.com>
Fri, 28 Feb 2020 12:03:42 +0000 (20:03 +0800)
Change-Id: I5e134cf573a8e09cef26bf0180b0e919c2c9ebc3
Issue-ID: VFC-1601
Signed-off-by: yangyan <yangyanyj@chinamobile.com>
ems/microservice-standalone/src/main/assembly/docker/docker-entrypoint.sh

index 0455dd6..9e4372d 100755 (executable)
@@ -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