diff --git a/src/mod/codecs/mod_opus/mod_opus.c b/src/mod/codecs/mod_opus/mod_opus.c index b7c3c51e12..96ff9ebde1 100644 --- a/src/mod/codecs/mod_opus/mod_opus.c +++ b/src/mod/codecs/mod_opus/mod_opus.c @@ -401,7 +401,7 @@ static switch_status_t opus_load_config(switch_bool_t reload) if (!(xml = switch_xml_open_cfg(cf, &cfg, NULL))) { 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"))) {