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:
parent
d63ea000c7
commit
6c8b037422
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user