mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-22 17:28:25 +01:00
Fix startup of supervisors for listening modules
This commit is contained in:
parent
6ca5691792
commit
7fc272918a
@ -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 ->
|
||||||
|
Loading…
Reference in New Issue
Block a user