diff options
Diffstat (limited to 'src/core/nginx.c')
-rw-r--r-- | src/core/nginx.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/nginx.c b/src/core/nginx.c index 30c068007..71e014942 100644 --- a/src/core/nginx.c +++ b/src/core/nginx.c @@ -67,6 +67,10 @@ int main(int argc, char *const *argv) #endif + if (ngx_os_init(&ngx_log) == NGX_ERROR) { + exit(1); + } + ngx_init_array(ngx_listening_sockets, ngx_pool, 10, sizeof(ngx_listen_t), 1); |