mirror of
https://github.com/nginx/nginx.git
synced 2026-10-21 11:31:24 +00:00
test relative nginx.conf, this is compatible with old versions
because cycle->root on this stage is not set
This commit is contained in:
parent
0d4b372e44
commit
3854a1e195
1 changed files with 0 additions and 4 deletions
|
|
@ -656,10 +656,6 @@ ngx_getopt(ngx_cycle_t *cycle, int argc, char *const *argv)
|
|||
cycle->conf_file.data = (u_char *) NGX_CONF_PATH;
|
||||
}
|
||||
|
||||
if (ngx_conf_full_name(cycle, &cycle->conf_file, 1) == NGX_ERROR) {
|
||||
return NGX_ERROR;
|
||||
}
|
||||
|
||||
return NGX_OK;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue