Parcourir la source

fix(bin/emqx): don't suppress `wait_for` command output, as it can print warning messages

Serge Tupchii il y a 2 ans
Parent
commit
f790690d8b
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      bin/emqx

+ 1 - 1
bin/emqx

@@ -831,7 +831,7 @@ wait_for() {
     shift
     shift
     CMD="$*"
     CMD="$*"
     while true; do
     while true; do
-        if $CMD >/dev/null 2>&1; then
+        if $CMD; then
             return 0
             return 0
         fi
         fi
         if [ "$WAIT_TIME" -le 0 ]; then
         if [ "$WAIT_TIME" -le 0 ]; then