24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-02 21:17:12 +02:00

Fix handling of config.ctc files

This commit is contained in:
Paweł Chmielowski 2017-02-14 14:34:02 +01:00
parent cad02bb1b0
commit 63da351038

View File

@ -213,7 +213,7 @@ end,
TestConfigFile = filename:join([Cwd, "test", "config.ctc"]), TestConfigFile = filename:join([Cwd, "test", "config.ctc"]),
TestConfig = case file:read_file_info(TestConfigFile) of TestConfig = case file:read_file_info(TestConfigFile) of
{ok, _} -> {ok, _} ->
["-userconfig ct_config_plain ", TestConfigFile, " "]; [" -userconfig ct_config_plain ", TestConfigFile, " "];
_ -> _ ->
"" ""
end, end,