]> granicus.if.org Git - ejabberd/commitdiff
Return ok from start/2
authorPaweł Chmielowski <pchmielowski@process-one.net>
Mon, 27 Feb 2017 09:05:35 +0000 (10:05 +0100)
committerPaweł Chmielowski <pchmielowski@process-one.net>
Mon, 27 Feb 2017 09:05:35 +0000 (10:05 +0100)
src/ejabberd_config.erl

index ea90ffde2ecb5ade9b1ef207c24b4dd97d6ac7cb..720e4cafa8b6ce7a71ba4dec2dc122467fbbf44f 100644 (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