summaryrefslogtreecommitdiff
path: root/src/ejabberdctl.template
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2013-03-14 10:33:02 +0100
committerBadlop <badlop@process-one.net>2013-03-14 10:33:02 +0100
commit9deb294328bb3f9eb6bd2c0e7cd500732e9b5830 (patch)
tree7e1066c130250627ee0abab44a135f583a28d07f /src/ejabberdctl.template
parentlist_to_integer/2 only works in OTP R14 and newer (diff)
Accumulated patch to binarize and indent code
Diffstat (limited to 'src/ejabberdctl.template')
-rw-r--r--src/ejabberdctl.template1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ejabberdctl.template b/src/ejabberdctl.template
index 461ec1a6..b6dfd4fc 100644
--- a/src/ejabberdctl.template
+++ b/src/ejabberdctl.template
@@ -53,6 +53,7 @@ if [ "$EJABBERD_DOC_PATH" = "" ] ; then
fi
if [ "$ERLANG_NODE_ARG" != "" ] ; then
ERLANG_NODE=$ERLANG_NODE_ARG
+ NODE=${ERLANG_NODE%@*}
fi
# check the proper system user is used