changeset 1407:6e99e8c71bde

test relative nginx.conf, this is compatible with old versions because cycle->root on this stage is not set
author Igor Sysoev <igor@sysoev.ru>
date Mon, 20 Aug 2007 10:05:10 +0000
parents 03341711f9a2
children e67ef50c3176
files src/core/nginx.c
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/core/nginx.c
+++ b/src/core/nginx.c
@@ -656,10 +656,6 @@ ngx_getopt(ngx_cycle_t *cycle, int argc,
         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;
 }