mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-23 14:44:28 +00:00
If config file is blank, don't load module.
(Closes issue #14563) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@179161 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -172,7 +172,7 @@ static int load_config(int reload)
|
||||
/* Nothing configured */
|
||||
ast_mutex_unlock(&lock);
|
||||
ast_config_destroy(cfg);
|
||||
return 0;
|
||||
return -1;
|
||||
}
|
||||
|
||||
/* Mapping must have a table name */
|
||||
|
Reference in New Issue
Block a user