summaryrefslogtreecommitdiff
path: root/ejabberdctl.template
diff options
context:
space:
mode:
authorChristophe Romain <christophe.romain@process-one.net>2017-06-13 12:37:27 +0200
committerChristophe Romain <christophe.romain@process-one.net>2017-06-13 12:37:27 +0200
commit6c8b037422666c5941252048cb5de2faf6bd016d (patch)
tree55e8c665c2163336bbb8bbb923dd529ef9edb7c9 /ejabberdctl.template
parentPrepare package for 17.06-beta (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 8976414d..26719cc2 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