From: Paweł Chmielowski Date: Mon, 27 Feb 2017 09:05:35 +0000 (+0100) Subject: Return ok from start/2 X-Git-Tag: 17.03~67 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=68088650682dda80afe45c4e3dbcbf2a1671b023;p=ejabberd Return ok from start/2 --- diff --git a/src/ejabberd_config.erl b/src/ejabberd_config.erl index ea90ffde2..720e4cafa 100644 --- a/src/ejabberd_config.erl +++ b/src/ejabberd_config.erl @@ -100,7 +100,8 @@ hosts_to_start(State) -> -spec start(Hosts :: [binary()], Opts :: [acl:acl() | local_config()]) -> ok. start(Hosts, Opts) -> mnesia_init(), - set_opts(set_hosts_in_options(Hosts, #state{opts = Opts})). + set_opts(set_hosts_in_options(Hosts, #state{opts = Opts})), + ok. mnesia_init() -> case catch mnesia:table_info(local_config, storage_type) of