aboutsummaryrefslogtreecommitdiffstats
path: root/cdr
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-04-06 16:14:21 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-04-06 16:14:21 +0000
commit5064705bd7004ab05b28fc2ae5bf8dbef04e3a2b (patch)
treeff6fa28c01b29547e6f75dd2b064c69ec974c172 /cdr
parent90b4a22fa766b5104b0cc39c8d2ebd4618917bbc (diff)
ensure that successful configuration results in the module staying loaded (bug #3968)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5424 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'cdr')
-rwxr-xr-xcdr/cdr_custom.c1
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");