From 66ad9e9722ab70d5219cacd7520fd4dfbbd220aa Mon Sep 17 00:00:00 2001 From: Christophe Romain Date: Wed, 19 Jun 2013 17:28:05 +0200 Subject: [PATCH] inet_dist_use_interface requires argument quoting --- ejabberdctl.template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ejabberdctl.template b/ejabberdctl.template index 252373c32..b0f5a4b3f 100755 --- a/ejabberdctl.template +++ b/ejabberdctl.template @@ -116,9 +116,9 @@ fi if [ "$INET_DIST_INTERFACE" != "" ] ; then INET_DIST_INTERFACE2="$(echo $INET_DIST_INTERFACE | sed 's/\./,/g')" if [ "$INET_DIST_INTERFACE" != "$INET_DIST_INTERFACE2" ] ; then - INET_DIST_INTERFACE2="{$INET_DIST_INTERFACE2}" + INET_DIST_INTERFACE2="{$INET_DIST_INTERFACE2}" fi - KERNEL_OPTS="${KERNEL_OPTS} -kernel inet_dist_use_interface $INET_DIST_INTERFACE2" + KERNEL_OPTS="${KERNEL_OPTS} -kernel inet_dist_use_interface \"${INET_DIST_INTERFACE2}\"" fi if [ "$ERLANG_NODE" = "${ERLANG_NODE%.*}" ] ; then NAME="-sname"