mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-01 08:33:24 +00:00
- In ypproc_all_2_svc(), yp_fork() is called only when !debug case.
So _exit() in the bottom of this function should be called with the same case.
This commit is contained in:
parent
4293e80feb
commit
8fbf071375
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=200100
@ -563,7 +563,10 @@ ypproc_all_2_svc(ypreq_nokey *argp, struct svc_req *rqstp)
|
||||
* Proper fix for PR #10970: exit here so that we don't risk
|
||||
* having a child spawned from this sub-process.
|
||||
*/
|
||||
_exit(0);
|
||||
if (!debug)
|
||||
_exit(0);
|
||||
|
||||
return &result;
|
||||
}
|
||||
|
||||
ypresp_master *
|
||||
|
Loading…
Reference in New Issue
Block a user