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

This commit is contained in:
Serge Tupchii 2023-09-08 14:22:02 +03:00
parent 6dd9e54ab8
commit f790690d8b
1 changed files with 1 additions and 1 deletions

View File

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