diff options
Diffstat (limited to 'cdr/cdr_custom.c')
-rw-r--r-- | cdr/cdr_custom.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cdr/cdr_custom.c b/cdr/cdr_custom.c index e89f022d0..803c3d9b7 100644 --- a/cdr/cdr_custom.c +++ b/cdr/cdr_custom.c @@ -153,8 +153,9 @@ static int load_module(void) ast_log(LOG_ERROR, "Unable to register custom CDR handling\n"); if (mf) fclose(mf); - } - return res; + return res; + } else + return AST_MODULE_LOAD_DECLINE; } static int reload(void) |