diff options
author | Igor Sysoev <igor@sysoev.ru> | 2007-08-20 10:05:10 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2007-08-20 10:05:10 +0000 |
commit | 3854a1e195d776818475a52e5e1ce63cbda5f99a (patch) | |
tree | e76ad4b16730052e002e19080ae23f52d19d7fae | |
parent | 0d4b372e44743db22e72642fa2fe56a488ce3ed6 (diff) | |
download | nginx-3854a1e195d776818475a52e5e1ce63cbda5f99a.tar.gz nginx-3854a1e195d776818475a52e5e1ce63cbda5f99a.zip |
test relative nginx.conf, this is compatible with old versions
because cycle->root on this stage is not set
-rw-r--r-- | src/core/nginx.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/core/nginx.c b/src/core/nginx.c index 27cb80f85..579ee161b 100644 --- a/src/core/nginx.c +++ b/src/core/nginx.c @@ -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; } |