From 60f7191ff4609ebd056eb4a326f29a49b3c32fb5 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 19 Mar 2010 01:50:56 +0000 Subject: uhttpd: add /sbin and /usr/sbin to path, increases bb-httpd compatibility --- contrib/package/uhttpd/src/uhttpd-cgi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/package/uhttpd') diff --git a/contrib/package/uhttpd/src/uhttpd-cgi.c b/contrib/package/uhttpd/src/uhttpd-cgi.c index 4c1265bd1d..2a9fdc9e11 100644 --- a/contrib/package/uhttpd/src/uhttpd-cgi.c +++ b/contrib/package/uhttpd/src/uhttpd-cgi.c @@ -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? */ -- cgit v1.2.3