summaryrefslogtreecommitdiff
path: root/source3/nmbd/asyncdns.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2002-07-28 06:26:41 +0000
committerAndrew Tridgell <tridge@samba.org>2002-07-28 06:26:41 +0000
commit4b68935a519955f7cda9b874220fdbd037a5b0c0 (patch)
treed11711e84c1eb4515d32cc77f34895f45521135e /source3/nmbd/asyncdns.c
parented9a219c8719063898c9b39ade0ba1b10739db98 (diff)
downloadsamba-4b68935a519955f7cda9b874220fdbd037a5b0c0.tar.gz
samba-4b68935a519955f7cda9b874220fdbd037a5b0c0.tar.bz2
samba-4b68935a519955f7cda9b874220fdbd037a5b0c0.zip
make sure async dns nmbd child dies
samba-patches 898 (This used to be commit a954f72fe315ec59bfeb4bd407179bc54689440f)
Diffstat (limited to 'source3/nmbd/asyncdns.c')
-rw-r--r--source3/nmbd/asyncdns.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/nmbd/asyncdns.c b/source3/nmbd/asyncdns.c
index 6c2f8de3b1..c86ee69a09 100644
--- a/source3/nmbd/asyncdns.c
+++ b/source3/nmbd/asyncdns.c
@@ -122,6 +122,7 @@ void kill_async_dns_child(void)
{
if (child_pid > 0) {
kill(child_pid, SIGTERM);
+ child_pid = -1;
}
}