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