diff options
author | Christophe Romain <christophe.romain@process-one.net> | 2013-06-19 17:28:05 +0200 |
---|---|---|
committer | Christophe Romain <christophe.romain@process-one.net> | 2013-06-19 17:28:05 +0200 |
commit | 66ad9e9722ab70d5219cacd7520fd4dfbbd220aa (patch) | |
tree | 9a51d5f30b18e911163c18303b8ba442b367155b /ejabberdctl.template | |
parent | Disable lager by default (diff) |
inet_dist_use_interface requires argument quoting
Diffstat (limited to 'ejabberdctl.template')
-rwxr-xr-x | ejabberdctl.template | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ejabberdctl.template b/ejabberdctl.template index 252373c3..b0f5a4b3 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" |