uhttpd: add /sbin and /usr/sbin to path, increases bb-httpd compatibility
This commit is contained in:
parent
a7282c8378
commit
60f7191ff4
1 changed files with 1 additions and 1 deletions
|
@ -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? */
|
||||
|
|
Loading…
Reference in a new issue