summaryrefslogtreecommitdiffstats
path: root/source3/registry/reg_init_basic.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/registry/reg_init_basic.c')
-rw-r--r--source3/registry/reg_init_basic.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/registry/reg_init_basic.c b/source3/registry/reg_init_basic.c
index 60dcabdcf2f..eab4ca7f9d6 100644
--- a/source3/registry/reg_init_basic.c
+++ b/source3/registry/reg_init_basic.c
@@ -37,6 +37,14 @@ WERROR registry_init_common(void)
if (!W_ERROR_IS_OK(werr)) {
DEBUG(0, ("Failed to initialize the reghook cache: %s\n",
win_errstr(werr)));
+ goto done;
+ }
+
+ /* setup the necessary keys and values */
+
+ werr = init_registry_data();
+ if (!W_ERROR_IS_OK(werr)) {
+ DEBUG(0, ("Failed to initialize data in registry!\n"));
}
done: