Fix refactor bug on wait_status

This commit is contained in:
Christophe Romain 2017-06-13 12:37:27 +02:00
parent d63ea000c7
commit 6c8b037422
1 changed files with 2 additions and 1 deletions

View File

@ -245,7 +245,8 @@ wait_status()
if [ $timeout -eq 0 ] ; then
status=$1
else
ctl status > /dev/null
exec_erl $(uid ctl) -hidden -noinput -s ejabberd_ctl \
-extra $ERLANG_NODE $NO_TIMEOUT status > /dev/null
status=$?
fi
done