Merge branch 'master' of git://git.freeswitch.org/freeswitch
This commit is contained in:
commit
2783face5f
1 changed files with 1 additions and 1 deletions
|
@ -1293,7 +1293,7 @@ SWITCH_DECLARE(switch_status_t) switch_loadable_module_init(switch_bool_t autolo
|
||||||
if (path && zstr(path)) {
|
if (path && zstr(path)) {
|
||||||
path = SWITCH_GLOBAL_dirs.mod_dir;
|
path = SWITCH_GLOBAL_dirs.mod_dir;
|
||||||
}
|
}
|
||||||
if (switch_loadable_module_load_module_ex((char *) path, (char *) val, SWITCH_FALSE, global, &err) == SWITCH_STATUS_FALSE) {
|
if (switch_loadable_module_load_module_ex((char *) path, (char *) val, SWITCH_FALSE, global, &err) == SWITCH_STATUS_GENERR) {
|
||||||
if (critical && switch_true(critical)) {
|
if (critical && switch_true(critical)) {
|
||||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "Failed to load critical module '%s', abort()\n", val);
|
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "Failed to load critical module '%s', abort()\n", val);
|
||||||
abort();
|
abort();
|
||||||
|
|
Loading…
Reference in a new issue