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:
Diffstat (limited to 'tools/joincluster')
-rwxr-xr-xtools/joincluster2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/joincluster b/tools/joincluster
index 837962236..7385e1697 100755
--- a/tools/joincluster
+++ b/tools/joincluster
@@ -67,7 +67,7 @@ CTL=$(which ejabberdctl)
echo "Using commands:"
[ -x "$CTL" ] && echo $CTL || error "can't find ejabberdctl" 10
-$CTL stop 2>/dev/null >/dev/null
+exec $CTL stop 2>/dev/null >/dev/null
ERLC=${ERL}c
[ -x $ERL ] && echo $ERL || error "can't find erl" 11