1 ## Use /bin/sh to execute external programs instead of getting
2 ## the shell from $SHELL (See ticket #388)
4 # http://trac.lighttpd.net/trac/ticket/388
6 --- lighttpd-1.4.12/src/proc_open.c~ 2006-09-19 15:49:41.846531074 +0300
7 +++ lighttpd-1.4.12/src/proc_open.c 2006-09-19 15:51:13.658593480 +0300
10 int proc_open(proc_handler_t *proc, const char *command) {
14 - if (NULL == (shell = getenv(SHELLENV))) {
17 + const char *shell = "/bin/sh";
19 if (proc_open_pipes(proc) != 0) {