summaryrefslogtreecommitdiffstats
path: root/source/nmbd/asyncdns.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2002-08-17 17:00:51 +0000
committerJelmer Vernooij <jelmer@samba.org>2002-08-17 17:00:51 +0000
commit3928578b52cfc949be5e0ef444fce1558d75f290 (patch)
tree651ed4a38e217dfa3f3874e7db8e45e7429af1f0 /source/nmbd/asyncdns.c
parenteac75549c398f208484ae735d5a5931fed6d0e99 (diff)
downloadsamba-3928578b52cfc949be5e0ef444fce1558d75f290.tar.gz
samba-3928578b52cfc949be5e0ef444fce1558d75f290.tar.xz
samba-3928578b52cfc949be5e0ef444fce1558d75f290.zip
sync 3.0 branch with head
Diffstat (limited to 'source/nmbd/asyncdns.c')
-rw-r--r--source/nmbd/asyncdns.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/nmbd/asyncdns.c b/source/nmbd/asyncdns.c
index 6c2f8de3b18..c86ee69a097 100644
--- a/source/nmbd/asyncdns.c
+++ b/source/nmbd/asyncdns.c
@@ -122,6 +122,7 @@ void kill_async_dns_child(void)
{
if (child_pid > 0) {
kill(child_pid, SIGTERM);
+ child_pid = -1;
}
}