diff options
author | Ashish SHUKLA <ashish.is@lostca.se> | 2017-07-15 14:12:47 +0300 |
---|---|---|
committer | Ashish SHUKLA <ashish.is@lostca.se> | 2017-07-15 14:12:47 +0300 |
commit | 95613a11ab65a87a932e4fa3106289ec16f5901f (patch) | |
tree | 0c0b703080ca898dc7e4cb423762d50c1ca95ef6 /ejabberdctl.template | |
parent | 2cd193f97c785b3cbe12361f001f94381a04f246 (diff) |
Fix ERLANG_OPTS when setting INET_DIST_INTERFACE
Diffstat (limited to 'ejabberdctl.template')
-rwxr-xr-x | ejabberdctl.template | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ejabberdctl.template b/ejabberdctl.template index aa2353cc8..efda14ffb 100755 --- a/ejabberdctl.template +++ b/ejabberdctl.template @@ -69,7 +69,7 @@ fi if [ "$INET_DIST_INTERFACE" != "" ] ; then INET_DIST_INTERFACE2=$("$ERL" -noshell -eval 'case inet:parse_address("'$INET_DIST_INTERFACE'") of {ok,IP} -> io:format("~p",[IP]); _ -> ok end.' -s erlang halt) if [ "$INET_DIST_INTERFACE2" != "" ] ; then - ERLANG_OPTS="$ERLANG_OPTS -kernel inet_dist_use_interface \"$INET_DIST_INTERFACE2\"" + ERLANG_OPTS="$ERLANG_OPTS -kernel inet_dist_use_interface $INET_DIST_INTERFACE2" fi fi ERL_LIBS={{libdir}} |