25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-20 17:27:00 +01:00

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

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