aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/nginx.c4
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;
}