diff options
Diffstat (limited to 'cdr/cdr_manager.c')
-rw-r--r-- | cdr/cdr_manager.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cdr/cdr_manager.c b/cdr/cdr_manager.c index 8b2ab215d..4dad2306f 100644 --- a/cdr/cdr_manager.c +++ b/cdr/cdr_manager.c @@ -62,6 +62,11 @@ static int load_config(int reload) if (cfg == CONFIG_STATUS_FILEUNCHANGED) return 0; + if (cfg == CONFIG_STATUS_FILEINVALID) { + ast_log(LOG_ERROR, "Config file '%s' could not be parsed\n", CONF_FILE); + return 1; + } + if (reload && customfields) { ast_free(customfields); } |