Fix(modules): correct the bad return value for emqx_modules:load/0
This commit is contained in:
parent
ee757402ad
commit
42fc81338c
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue