mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-22 17:28:25 +01:00
Return ok from start/2
This commit is contained in:
parent
7a9fa52e91
commit
6808865068
@ -100,7 +100,8 @@ hosts_to_start(State) ->
|
|||||||
-spec start(Hosts :: [binary()], Opts :: [acl:acl() | local_config()]) -> ok.
|
-spec start(Hosts :: [binary()], Opts :: [acl:acl() | local_config()]) -> ok.
|
||||||
start(Hosts, Opts) ->
|
start(Hosts, Opts) ->
|
||||||
mnesia_init(),
|
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() ->
|
mnesia_init() ->
|
||||||
case catch mnesia:table_info(local_config, storage_type) of
|
case catch mnesia:table_info(local_config, storage_type) of
|
||||||
|
Loading…
Reference in New Issue
Block a user