r2440: Use sys_fork instead of fork for the dual daemon so that we get the
authorVolker Lendecke <vlendec@samba.org>
Mon, 20 Sep 2004 09:48:46 +0000 (09:48 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:52:43 +0000 (10:52 -0500)
correct debug pid in the logfiles.

Volker

source/nsswitch/winbindd_dual.c

index a9796afa3679712e0e6c18617e5b0bac81e0618d..d4ec6e586db29510a28252ac9de961ea3cf63492 100644 (file)
@@ -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;
        }