From 3854a1e195d776818475a52e5e1ce63cbda5f99a Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Mon, 20 Aug 2007 10:05:10 +0000 Subject: [PATCH] test relative nginx.conf, this is compatible with old versions because cycle->root on this stage is not set --- src/core/nginx.c | 4 ---- 1 file changed, 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; }