mirror of
https://github.com/nginx/nginx.git
synced 2024-12-01 13:09:10 -06: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
@ -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…
Reference in New Issue
Block a user