From 68088650682dda80afe45c4e3dbcbf2a1671b023 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pawe=C5=82=20Chmielowski?= Date: Mon, 27 Feb 2017 10:05:35 +0100 Subject: [PATCH] Return ok from start/2 --- src/ejabberd_config.erl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.40.0