summaryrefslogtreecommitdiff
path: root/source3/nmbd
diff options
context:
space:
mode:
Diffstat (limited to 'source3/nmbd')
-rw-r--r--source3/nmbd/nmbd.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c
index bdafdd44fc..92c43f410e 100644
--- a/source3/nmbd/nmbd.c
+++ b/source3/nmbd/nmbd.c
@@ -567,7 +567,10 @@ static void usage(char *pname)
charset_initialise();
- if(!initialize_password_db())
+ if(!initialise_group_db())
+ exit(1);
+
+ if(!initialise_password_db())
exit(1);
#ifdef LMHOSTSFILE
@@ -768,4 +771,3 @@ static void usage(char *pname)
return(0);
} /* main */
-/* ========================================================================== */