Mercurial > hg > nginx
comparison src/os/unix/ngx_udp_send.c @ 7162:8b84d60ef13d
Fixed "changing binary" when reaper is not init.
On some systems, it's possible that reaper of orphaned processes is
set to something other than "init" process. On such systems, the
changing binary procedure did not work.
The fix is to check if PPID has changed, instead of assuming it's
always 1 for orphaned processes.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Tue, 28 Nov 2017 12:00:24 +0300 |
parents | 8f038068f4bc |
children |
comparison
equal
deleted
inserted
replaced
7161:325b3042edd6 | 7162:8b84d60ef13d |
---|