1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-12 20:58:37 +03:00

r2440: Use sys_fork instead of fork for the dual daemon so that we get the

correct debug pid in the logfiles.

Volker
(This used to be commit 410d2c3ebba71434ad92d4572fec64eea7b952cd)
This commit is contained in:
Volker Lendecke 2004-09-20 09:48:46 +00:00 committed by Gerald (Jerry) Carter
parent 78c554474a
commit 5bfd4d2007

View 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;
}