mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
inet_dist_use_interface requires argument quoting
This commit is contained in:
parent
1e633638e1
commit
66ad9e9722
@ -116,9 +116,9 @@ fi
|
|||||||
if [ "$INET_DIST_INTERFACE" != "" ] ; then
|
if [ "$INET_DIST_INTERFACE" != "" ] ; then
|
||||||
INET_DIST_INTERFACE2="$(echo $INET_DIST_INTERFACE | sed 's/\./,/g')"
|
INET_DIST_INTERFACE2="$(echo $INET_DIST_INTERFACE | sed 's/\./,/g')"
|
||||||
if [ "$INET_DIST_INTERFACE" != "$INET_DIST_INTERFACE2" ] ; then
|
if [ "$INET_DIST_INTERFACE" != "$INET_DIST_INTERFACE2" ] ; then
|
||||||
INET_DIST_INTERFACE2="{$INET_DIST_INTERFACE2}"
|
INET_DIST_INTERFACE2="{$INET_DIST_INTERFACE2}"
|
||||||
fi
|
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
|
fi
|
||||||
if [ "$ERLANG_NODE" = "${ERLANG_NODE%.*}" ] ; then
|
if [ "$ERLANG_NODE" = "${ERLANG_NODE%.*}" ] ; then
|
||||||
NAME="-sname"
|
NAME="-sname"
|
||||||
|
Loading…
Reference in New Issue
Block a user