From 26e96effe94ce2b96690a689d076d0cdcf0eb5f6 Mon Sep 17 00:00:00 2001 From: Brian West Date: Thu, 27 Feb 2014 15:25:29 -0600 Subject: [PATCH] FS-6209 failing to load without a conf is bad --- src/mod/codecs/mod_opus/mod_opus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"))) {