提交 26e96eff authored 作者: Brian West's avatar Brian West

FS-6209 failing to load without a conf is bad

上级 3dad15f9
...@@ -401,7 +401,7 @@ static switch_status_t opus_load_config(switch_bool_t reload) ...@@ -401,7 +401,7 @@ static switch_status_t opus_load_config(switch_bool_t reload)
if (!(xml = switch_xml_open_cfg(cf, &cfg, NULL))) { if (!(xml = switch_xml_open_cfg(cf, &cfg, NULL))) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Opening of %s failed\n", cf); switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Opening of %s failed\n", cf);
status = SWITCH_STATUS_TERM; return status;
} }
if ((settings = switch_xml_child(cfg, "settings"))) { if ((settings = switch_xml_child(cfg, "settings"))) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论