diff options
Diffstat (limited to 'src/core/ngx_file.c')
-rw-r--r-- | src/core/ngx_file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ngx_file.c b/src/core/ngx_file.c index fdefacf50..1bb418226 100644 --- a/src/core/ngx_file.c +++ b/src/core/ngx_file.c @@ -259,7 +259,7 @@ ngx_conf_set_path_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) path->name.len--; } - if (ngx_conf_full_name(cf->cycle, &path->name, 0) == NGX_ERROR) { + if (ngx_conf_full_name(cf->cycle, &path->name, 0) != NGX_OK) { return NULL; } |