mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-25 12:10:18 +00:00
FS-6209 failing to load without a conf is bad
This commit is contained in:
parent
3dad15f938
commit
26e96effe9
@ -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"))) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user