summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index bc0d4b70a3..9754fab534 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -1323,7 +1323,7 @@ extern void build_options(bool screen);
namecache_enable();
- if (!init_registry())
+ if (!W_ERROR_IS_OK(init_registry()))
exit(1);
#if 0