aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/deploy_host.sh
diff options
context:
space:
mode:
authorchenshuai@huawei.com <chenshuai@huawei.com>2016-02-18 00:55:42 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-02-18 00:55:42 +0000
commit6cc26dd218e9277f748cee30c222cdb1c420a848 (patch)
tree9265d4d20529b9b5951ce1f31f34471ed7406053 /deploy/deploy_host.sh
parentc3f89eca0c74f587f833c5884aa7f1b3d96827c3 (diff)
parentb67c6b64b8e2c08f40051adf5a839241e78dca7d (diff)
Merge "Improvement: reset compute nodes for opencontrail"
Diffstat (limited to 'deploy/deploy_host.sh')
-rwxr-xr-xdeploy/deploy_host.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/deploy/deploy_host.sh b/deploy/deploy_host.sh
index 82748743..306f936a 100755
--- a/deploy/deploy_host.sh
+++ b/deploy/deploy_host.sh
@@ -49,5 +49,9 @@ function deploy_host(){
RET=$?
sleep $((AYNC_TIMEOUT+5))
- exit $RET
+ if [[ $RET ]]; then
+ /bin/true
+ else
+ /bin/false
+ fi
}