diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2005-04-06 16:14:21 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2005-04-06 16:14:21 +0000 |
commit | 3fd8f01d7cb211b8706ee599dfa775994dfd0082 (patch) | |
tree | ff6fa28c01b29547e6f75dd2b064c69ec974c172 /cdr | |
parent | ea60d42f6742075cbb7bd999a74e673123f488cd (diff) |
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
Diffstat (limited to 'cdr')
-rwxr-xr-x | cdr/cdr_custom.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cdr/cdr_custom.c b/cdr/cdr_custom.c index 08abbcae0..bfde470e2 100755 --- a/cdr/cdr_custom.c +++ b/cdr/cdr_custom.c @@ -74,6 +74,7 @@ static int load_config(int reload) var = var->next; } ast_config_destroy(cfg); + res = 0; } else { if (reload) ast_log(LOG_WARNING, "Failed to reload configuration file.\n"); |