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 0f19371e6..ffd63cf59 100644 --- a/src/core/nginx.c +++ b/src/core/nginx.c @@ -270,6 +270,10 @@ main(int argc, char *const *argv) ngx_pid = ngx_getpid(); + if (ngx_strerror_init() != NGX_OK) { + return 1; + } + log = ngx_log_init(ngx_prefix); if (log == NULL) { return 1; |