Merge pull request #684 from wcy123/master

bug fix: ejabberd:start_app need to pass Type to application:start
This commit is contained in:
Evgeny Khramtsov 2016-03-25 21:00:35 +04:00
commit 915ccbbdfb
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ is_loaded() ->
start_app(App, Type, StartFlag) when not is_list(App) ->
start_app([App], Type, StartFlag);
start_app([App|Apps], Type, StartFlag) ->
case application:start(App) of
case application:start(App,Type) of
ok ->
spawn(fun() -> check_app_modules(App, StartFlag) end),
start_app(Apps, Type, StartFlag);