summaryrefslogtreecommitdiff
path: root/source3/registry/reg_init_smbconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/registry/reg_init_smbconf.c')
-rw-r--r--source3/registry/reg_init_smbconf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/registry/reg_init_smbconf.c b/source3/registry/reg_init_smbconf.c
index 1b17852a7a..71f21f85ec 100644
--- a/source3/registry/reg_init_smbconf.c
+++ b/source3/registry/reg_init_smbconf.c
@@ -95,6 +95,8 @@ bool registry_init_smbconf(void)
goto done;
}
+ regdb_close();
+
ret = true;
done: