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

Fix startup of supervisors for listening modules

This commit is contained in:
Evgeny Khramtsov 2019-10-01 23:28:00 +03:00
parent 6ca5691792
commit 7fc272918a

View File

@ -346,6 +346,7 @@ start_module_sup(Module, Opts) ->
[ejabberd_tmp_sup]}, [ejabberd_tmp_sup]},
case supervisor:start_child(ejabberd_sup, ChildSpec) of case supervisor:start_child(ejabberd_sup, ChildSpec) of
{ok, _} -> Proc; {ok, _} -> Proc;
{error, {already_started, _}} -> Proc;
_ -> undefined _ -> undefined
end; end;
false -> false ->