mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-30 16:36:29 +01:00
Do not display error message when starting several hosts (EJAB-571) (thanks to Christohpe Romain)
SVN Revision: 2300
This commit is contained in:
parent
38ce8b494e
commit
3e2c626696
@ -3,7 +3,7 @@
|
|||||||
%%% Author : Stefan Strigler <steve@zeank.in-berlin.de>
|
%%% Author : Stefan Strigler <steve@zeank.in-berlin.de>
|
||||||
%%% Purpose : Implementation of XMPP over BOSH (XEP-0206)
|
%%% Purpose : Implementation of XMPP over BOSH (XEP-0206)
|
||||||
%%% Created : Tue Feb 20 13:15:52 CET 2007
|
%%% Created : Tue Feb 20 13:15:52 CET 2007
|
||||||
%%% Id : $Id: mod_http_bind.erl 514 2008-03-12 21:54:18Z badlop $
|
%%% Id : $Id: mod_http_bind.erl 549 2008-04-02 09:12:44Z cromain $
|
||||||
%%%----------------------------------------------------------------------
|
%%%----------------------------------------------------------------------
|
||||||
|
|
||||||
%%%----------------------------------------------------------------------
|
%%%----------------------------------------------------------------------
|
||||||
@ -89,10 +89,8 @@ start(Host, _Opts) ->
|
|||||||
{ok, _Pid, _Info} ->
|
{ok, _Pid, _Info} ->
|
||||||
ok;
|
ok;
|
||||||
{error, {already_started, _PidOther}} ->
|
{error, {already_started, _PidOther}} ->
|
||||||
ErrorText = "mod_http_bind is already started, "
|
% mod_http_bind is already started so it will not be started again
|
||||||
"so it will not be started again for "
|
ok;
|
||||||
++ Host,
|
|
||||||
{'EXIT', {start_child_error, ErrorText}};
|
|
||||||
{error, Error} ->
|
{error, Error} ->
|
||||||
{'EXIT', {start_child_error, Error}}
|
{'EXIT', {start_child_error, Error}}
|
||||||
end.
|
end.
|
||||||
|
Loading…
Reference in New Issue
Block a user