From: Volker Lendecke Date: Mon, 20 Sep 2004 09:48:46 +0000 (+0000) Subject: r2440: Use sys_fork instead of fork for the dual daemon so that we get the X-Git-Tag: samba-misc-tags/initial-v3-0-unstable~5788 X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=410d2c3ebba71434ad92d4572fec64eea7b952cd;p=samba.git r2440: Use sys_fork instead of fork for the dual daemon so that we get the correct debug pid in the logfiles. Volker --- diff --git a/source/nsswitch/winbindd_dual.c b/source/nsswitch/winbindd_dual.c index a9796afa367..d4ec6e586db 100644 --- a/source/nsswitch/winbindd_dual.c +++ b/source/nsswitch/winbindd_dual.c @@ -155,7 +155,7 @@ void do_dual_daemon(void) dual_daemon_pipe = fdpair[1]; state.sock = fdpair[0]; - if (fork() != 0) { + if (sys_fork() != 0) { close(fdpair[0]); return; }