diff --git a/cdr/cdr_sqlite3_custom.c b/cdr/cdr_sqlite3_custom.c index afb4774db5..6c9a431bd7 100644 --- a/cdr/cdr_sqlite3_custom.c +++ b/cdr/cdr_sqlite3_custom.c @@ -176,7 +176,7 @@ static int load_config(int reload) /* Nothing configured */ ast_mutex_unlock(&lock); ast_config_destroy(cfg); - return 0; + return -1; } /* Mapping must have a table name */