uhttpd: add /sbin and /usr/sbin to path, increases bb-httpd compatibility

This commit is contained in:
Jo-Philipp Wich 2010-03-19 01:50:56 +00:00
parent a7282c8378
commit 60f7191ff4

View file

@ -181,7 +181,7 @@ void uh_cgi_request(struct client *cl, struct http_request *req)
/* common information */
setenv("GATEWAY_INTERFACE", "CGI/1.1", 1);
setenv("SERVER_SOFTWARE", "uHTTPd", 1);
setenv("PATH", "/usr/bin:/bin", 1);
setenv("PATH", "/sbin:/usr/sbin:/bin:/usr/bin", 1);
#ifdef HAVE_TLS
/* https? */