aboutsummaryrefslogtreecommitdiffstats
path: root/cdr
diff options
context:
space:
mode:
Diffstat (limited to 'cdr')
-rw-r--r--cdr/cdr_sqlite3_custom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cdr/cdr_sqlite3_custom.c b/cdr/cdr_sqlite3_custom.c
index 3bac49550..b79bb50ac 100644
--- a/cdr/cdr_sqlite3_custom.c
+++ b/cdr/cdr_sqlite3_custom.c
@@ -172,7 +172,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 */