Return ok from start/2

This commit is contained in:
Paweł Chmielowski 2017-02-27 10:05:35 +01:00
parent 7a9fa52e91
commit 6808865068
1 changed files with 2 additions and 1 deletions

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