diff options
author | Andrew Tridgell <tridge@samba.org> | 1997-11-01 23:42:28 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1997-11-01 23:42:28 +0000 |
commit | 87cada5fd33ea26cccb72454f97781e6e6c3254d (patch) | |
tree | 146fec669ece98da99df8c32f8a318d67f2c9b15 /source3/nmbd/nmbd.c | |
parent | 8e873b415b98c20cfe134b98753d6783882f72b8 (diff) | |
download | samba-87cada5fd33ea26cccb72454f97781e6e6c3254d.tar.gz samba-87cada5fd33ea26cccb72454f97781e6e6c3254d.tar.bz2 samba-87cada5fd33ea26cccb72454f97781e6e6c3254d.zip |
minor async DNS cleanups
- start it earlier
- set DEBUGLEVEL to -1 to prevent any debug calls in child
- exit with _exit() to prevent logfile corruption
(This used to be commit 21dd073a2003fa4707c1577a6b07bcef30eb6a50)
Diffstat (limited to 'source3/nmbd/nmbd.c')
-rw-r--r-- | source3/nmbd/nmbd.c | 8 |
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; |