Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/processone/ejabberd.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Romain <christophe.romain@process-one.net>2017-06-13 13:37:27 +0300
committerChristophe Romain <christophe.romain@process-one.net>2017-06-13 13:37:27 +0300
commit6c8b037422666c5941252048cb5de2faf6bd016d (patch)
tree55e8c665c2163336bbb8bbb923dd529ef9edb7c9 /ejabberdctl.template
parentd63ea000c73cca9c1c7feb70375a138fa91df926 (diff)
Fix refactor bug on wait_status
Diffstat (limited to 'ejabberdctl.template')
-rwxr-xr-xejabberdctl.template3
1 files changed, 2 insertions, 1 deletions
diff --git a/ejabberdctl.template b/ejabberdctl.template
index 8976414d5..26719cc26 100755
--- a/ejabberdctl.template
+++ b/ejabberdctl.template
@@ -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