From: Maxim Dounin Date: Tue, 15 Nov 2011 20:35:41 +0000 (+0000) Subject: Fixed handling of SIGWINCH/NOACCEPT signal. X-Git-Tag: release-1.1.9~23 X-Git-Url: http://git.kaiwu.me/postgresql/log/contrib/postgres_fdw/postgres_fdw.c?a=commitdiff_plain;h=2b24a67268b55c27f4577f5c7328233ba82025ee;p=nginx.git Fixed handling of SIGWINCH/NOACCEPT signal. After first upgrade it was ignored since r4020 (1.1.1, 1.0.9) as ngx_daemonized wasn't set. --- diff --git a/src/core/nginx.c b/src/core/nginx.c index 9e00a2d86..5de48351a 100644 --- a/src/core/nginx.c +++ b/src/core/nginx.c @@ -374,6 +374,10 @@ main(int argc, char *const *argv) ngx_daemonized = 1; } + if (ngx_inherited) { + ngx_daemonized = 1; + } + #endif if (ngx_create_pidfile(&ccf->pid, cycle->log) != NGX_OK) {