Mercurial > hg > nginx
diff src/core/ngx_conf_file.c @ 7086:577628e6b6a6
Style.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Wed, 09 Aug 2017 14:59:46 +0300 |
parents | 1bf4f21b1b72 |
children | d91a8c4ac6bb |
line wrap: on
line diff
--- a/src/core/ngx_conf_file.c Wed Aug 09 14:59:44 2017 +0300 +++ b/src/core/ngx_conf_file.c Wed Aug 09 14:59:46 2017 +0300 @@ -178,6 +178,7 @@ /* open configuration file */ fd = ngx_open_file(filename->data, NGX_FILE_RDONLY, NGX_FILE_OPEN, 0); + if (fd == NGX_INVALID_FILE) { ngx_conf_log_error(NGX_LOG_EMERG, cf, ngx_errno, ngx_open_file_n " \"%s\" failed",