25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-20 17:27:00 +01:00

Return ok from start/2

This commit is contained in:
Paweł Chmielowski 2017-02-27 10:05:35 +01:00
parent 7a9fa52e91
commit 6808865068

View File

@ -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