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]},
|
||||
case supervisor:start_child(ejabberd_sup, ChildSpec) of
|
||||
{ok, _} -> Proc;
|
||||
{error, {already_started, _}} -> Proc;
|
||||
_ -> undefined
|
||||
end;
|
||||
false ->
|
||||
|
|
Loading…
Reference in New Issue