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
|
if [ $timeout -eq 0 ] ; then
|
||||||
status=$1
|
status=$1
|
||||||
else
|
else
|
||||||
ctl status > /dev/null
|
exec_erl $(uid ctl) -hidden -noinput -s ejabberd_ctl \
|
||||||
|
-extra $ERLANG_NODE $NO_TIMEOUT status > /dev/null
|
||||||
status=$?
|
status=$?
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue