summaryrefslogtreecommitdiff
path: root/source3/registry/reg_init_full.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/registry/reg_init_full.c')
-rw-r--r--source3/registry/reg_init_full.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/registry/reg_init_full.c b/source3/registry/reg_init_full.c
index 04eff36057..ac3f66f1b2 100644
--- a/source3/registry/reg_init_full.c
+++ b/source3/registry/reg_init_full.c
@@ -77,7 +77,8 @@ bool init_registry( void )
/* setup the necessary keys and values */
- if ( !init_registry_data() ) {
+ werr = init_registry_data();
+ if (!W_ERROR_IS_OK(werr)) {
DEBUG(0, ("Failed to initialize data in registry!\n"));
goto fail;
}