From 3fd8f01d7cb211b8706ee599dfa775994dfd0082 Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Wed, 6 Apr 2005 16:14:21 +0000 Subject: [PATCH] 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 --- cdr/cdr_custom.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cdr/cdr_custom.c b/cdr/cdr_custom.c index 08abbcae0f..bfde470e2c 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");