diff --git a/cdr/cdr_sqlite3_custom.c b/cdr/cdr_sqlite3_custom.c index 3bac49550f..b79bb50ac6 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 */