aboutsummaryrefslogtreecommitdiff
path: root/src/core/nginx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/nginx.c')
-rw-r--r--src/core/nginx.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/nginx.c b/src/core/nginx.c
index a59e4d6f3..78e3caa3c 100644
--- a/src/core/nginx.c
+++ b/src/core/nginx.c
@@ -236,6 +236,10 @@ main(int argc, char *const *argv)
#else
+ if (ngx_init_signals(cycle->log) == NGX_ERROR) {
+ return 1;
+ }
+
if (!ngx_inherited && ccf->daemon) {
if (ngx_daemon(cycle->log) == NGX_ERROR) {
return 1;