aboutsummaryrefslogtreecommitdiff
path: root/networking/httpd.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/httpd.c')
-rw-r--r--networking/httpd.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/networking/httpd.c b/networking/httpd.c
index 0f6174140..df280ccf5 100644
--- a/networking/httpd.c
+++ b/networking/httpd.c
@@ -2077,9 +2077,7 @@ int httpd_main(int argc, char *argv[])
2077#endif 2077#endif
2078#endif 2078#endif
2079 2079
2080 if(chdir(home_httpd)) { 2080 bb_xchdir(home_httpd);
2081 bb_perror_msg_and_die("can`t chdir to %s", home_httpd);
2082 }
2083#ifndef CONFIG_FEATURE_HTTPD_USAGE_FROM_INETD_ONLY 2081#ifndef CONFIG_FEATURE_HTTPD_USAGE_FROM_INETD_ONLY
2084 server = openServer(); 2082 server = openServer();
2085# ifdef CONFIG_FEATURE_HTTPD_SETUID 2083# ifdef CONFIG_FEATURE_HTTPD_SETUID