summaryrefslogtreecommitdiff
path: root/source3/nmbd/nmbd.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/nmbd/nmbd.c')
-rw-r--r--source3/nmbd/nmbd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c
index d53ec8c2e0..696889c484 100644
--- a/source3/nmbd/nmbd.c
+++ b/source3/nmbd/nmbd.c
@@ -561,6 +561,10 @@ static void usage(char *pname)
return -1;
}
+#ifndef SYNC_DNS
+ start_async_dns();
+#endif
+
if (!reload_services(False))
return(-1);
@@ -590,10 +594,6 @@ static void usage(char *pname)
become_daemon();
}
-#ifndef SYNC_DNS
- start_async_dns();
-#endif
-
if (*pidFile)
{
int fd;