mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-23 13:09:00 +00:00
Do not consider failure to read the configuration file in chan_motif to be a show stopper for loading Asterisk by returning decline instead of failure.
(closes issue ASTERISK-20103) Reported by: Terry Wilson git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@369936 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2494,7 +2494,8 @@ static int load_module(void)
|
||||
|
||||
if (aco_process_config(&cfg_info, 0)) {
|
||||
ast_log(LOG_ERROR, "Unable to read config file motif.conf. Not loading module.\n");
|
||||
goto end;
|
||||
aco_info_destroy(&cfg_info);
|
||||
return AST_MODULE_LOAD_DECLINE;
|
||||
}
|
||||
|
||||
if (!(sched = ast_sched_context_create())) {
|
||||
|
Reference in New Issue
Block a user