]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-6209 failing to load without a conf is bad
authorBrian West <brian@freeswitch.org>
Thu, 27 Feb 2014 21:25:29 +0000 (15:25 -0600)
committerBrian West <brian@freeswitch.org>
Thu, 27 Feb 2014 21:25:37 +0000 (15:25 -0600)
src/mod/codecs/mod_opus/mod_opus.c

index b7c3c51e125c8805f74519d0e2269b7c13f7cd01..96ff9ebde15e777e2a3d2aa3af9c561b09cbd04e 100644 (file)
@@ -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"))) {