diff options
-rw-r--r-- | source3/smbd/server.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c index 4442a1f71f6..4c136f638b6 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -705,6 +705,10 @@ static void usage(char *pname) pidfile_create("smbd"); } + if (!message_init()) { + exit(1); + } + if (!open_sockets(is_daemon,port)) exit(1); @@ -712,10 +716,6 @@ static void usage(char *pname) * everything after this point is run after the fork() */ - if (!message_init()) { - exit(1); - } - if (!locking_init(0)) { exit(1); } |