mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
ensure that successful configuration results in the module staying loaded (bug #3968)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5424 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -74,6 +74,7 @@ static int load_config(int reload)
|
|||||||
var = var->next;
|
var = var->next;
|
||||||
}
|
}
|
||||||
ast_config_destroy(cfg);
|
ast_config_destroy(cfg);
|
||||||
|
res = 0;
|
||||||
} else {
|
} else {
|
||||||
if (reload)
|
if (reload)
|
||||||
ast_log(LOG_WARNING, "Failed to reload configuration file.\n");
|
ast_log(LOG_WARNING, "Failed to reload configuration file.\n");
|
||||||
|
Reference in New Issue
Block a user