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:
parent
78c554474a
commit
5bfd4d2007
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user