summaryrefslogtreecommitdiff
path: root/source3/registry/reg_frontend.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/registry/reg_frontend.c')
-rw-r--r--source3/registry/reg_frontend.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/registry/reg_frontend.c b/source3/registry/reg_frontend.c
index 6090245096..de2b279546 100644
--- a/source3/registry/reg_frontend.c
+++ b/source3/registry/reg_frontend.c
@@ -60,7 +60,8 @@ BOOL init_registry( void )
return False;
}
- reghook_dump_cache(20);
+ if ( DEBUGLEVEL >= 20 )
+ reghook_dump_cache(20);
return True;
}