- 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:
Jun Kuriyama 2009-12-04 14:12:37 +00:00
parent 4293e80feb
commit 8fbf071375
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=200100

View File

@ -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 *