]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
ensure that successful configuration results in the module staying loaded (bug #3968)
authorKevin P. Fleming <kpfleming@digium.com>
Wed, 6 Apr 2005 16:14:21 +0000 (16:14 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Wed, 6 Apr 2005 16:14:21 +0000 (16:14 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5424 65c4cc65-6c06-0410-ace0-fbb531ad65f3

cdr/cdr_custom.c

index 08abbcae0facd26943820c207cbf2dfaab8a3bf7..bfde470e2c120f46d1e13a0ed2ccd4a97f44fa2e 100755 (executable)
@@ -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");