Fix(modules): correct the bad return value for emqx_modules:load/0

This commit is contained in:
JianBo He 2020-06-01 10:48:06 +08:00 committed by tigercl
parent ee757402ad
commit 42fc81338c
1 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ list() ->
-spec(load() -> ok). -spec(load() -> ok).
load() -> load() ->
case emqx:get_env(modules_loaded_file) of case emqx:get_env(modules_loaded_file) of
undefined -> ignore; undefined -> ok;
File -> File ->
load_modules(File) load_modules(File)
end. end.