test relative nginx.conf, this is compatible with old versions

because cycle->root on this stage is not set
This commit is contained in:
Igor Sysoev 2007-08-20 10:05:10 +00:00
parent 0d4b372e44
commit 3854a1e195

View File

@ -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;
}