summaryrefslogtreecommitdiff
blob: cdc50fb29e0639ea54b1bdcf2bfb917d3abcc167 (plain)
1
2
3
4
5
6
7
8
9
10
--- execute_cmd.c	2006-11-01 18:32:36 +0000
+++ execute_cmd.c	2006-11-01 18:32:42 +0000
@@ -2672,6 +2672,7 @@
 
 	  do_piping (pipe_in, pipe_out);
 
+	  subshell_environment = 0;
 	  if (async)
 	    subshell_environment |= SUBSHELL_ASYNC;
 	  if (pipe_in != NO_PIPE || pipe_out != NO_PIPE)