summaryrefslogtreecommitdiffstats
path: root/deploy/compass_vm.sh
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/compass_vm.sh')
-rw-r--r--deploy/compass_vm.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/deploy/compass_vm.sh b/deploy/compass_vm.sh
index 4c40c1e4..067918da 100644
--- a/deploy/compass_vm.sh
+++ b/deploy/compass_vm.sh
@@ -30,7 +30,7 @@ function install_compass_core() {
function wait_ok() {
log_info "wait_compass_ok enter"
retry=0
- until timeout 1s ssh $ssh_args root@$MGMT_IP "exit" 2>/dev/null
+ until timeout 1s ssh $ssh_args root@$MGMT_IP "exit" >/dev/null 2>&1
do
log_progress "os install time used: $((retry*100/$1))%"
sleep 1