diff options
author | yangyan <yangyanyj@chinamobile.com> | 2020-02-28 20:29:18 +0800 |
---|---|---|
committer | Yan Yang <yangyanyj@chinamobile.com> | 2020-02-28 12:30:02 +0000 |
commit | 9f68abe303fd8184ef824d62c31742fecc777fa1 (patch) | |
tree | c4c60083ccaf3d0fec118219fec01a203d5fa4c7 /zte/vmanager/docker/docker-entrypoint.sh | |
parent | 82a619e9ddeeef1a6fcf334d37334e1a7e45c22b (diff) |
Change the MSB registration switch to the environment variable acquisition mode and fix typo error
Change-Id: Ie6f21aad4cd9e571d3e58eaa498d1fb68470d94f
Issue-ID: VFC-1601
Signed-off-by: yangyan <yangyanyj@chinamobile.com>
Diffstat (limited to 'zte/vmanager/docker/docker-entrypoint.sh')
-rwxr-xr-x | zte/vmanager/docker/docker-entrypoint.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zte/vmanager/docker/docker-entrypoint.sh b/zte/vmanager/docker/docker-entrypoint.sh index 0081696d..3c731640 100755 --- a/zte/vmanager/docker/docker-entrypoint.sh +++ b/zte/vmanager/docker/docker-entrypoint.sh @@ -17,8 +17,8 @@ echo "MSB_ADDR=$MSB_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 |