summaryrefslogtreecommitdiff
path: root/source3/registry/reg_init_full.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-04-13 13:38:44 +0200
committerMichael Adam <obnox@samba.org>2008-04-13 15:33:47 +0200
commit26a5652f6d1dc7ae01a472beabf032faba07c8d2 (patch)
tree5e2fd68d28cca732e4d943024b50e4a521f58bc6 /source3/registry/reg_init_full.c
parentcb624c40573b10fbb93c14a1aa436780ffd6caa4 (diff)
downloadsamba-26a5652f6d1dc7ae01a472beabf032faba07c8d2.tar.gz
registry: change init_registry_key() and init_registry_data() to return WERR
Michael (This used to be commit e0718f04a7392695eed6cd1bf888d3af1d5d6177)
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 04eff360578..ac3f66f1b26 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;
}