diff options
author | Chet Ramey <chet.ramey@case.edu> | 2016-08-22 15:58:43 -0400 |
---|---|---|
committer | Chet Ramey <chet.ramey@case.edu> | 2016-08-22 15:58:43 -0400 |
commit | 955543877583837c85470f7fb8a97b7aa8d45e6c (patch) | |
tree | b239e7c3983a9189b8f0104854ee82283c5807ab /jobs.c | |
parent | a4eef1991c25c9d1c55f777952cd522c762c6fc3 (diff) | |
download | bash-4.4-testing.tar.gz |
bash-4.4-rc2 releasebash-4.4-rc2bash-4.4-testing
Diffstat (limited to 'jobs.c')
-rw-r--r-- | jobs.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -3845,6 +3845,7 @@ run_sigchld_trap (nchild) unwind_protect_pointer (the_pipeline); unwind_protect_pointer (subst_assign_varlist); unwind_protect_pointer (this_shell_builtin); + unwind_protect_pointer (temporary_env); /* We have to add the commands this way because they will be run in reverse order of adding. We don't want maybe_set_sigchld_trap () @@ -3854,6 +3855,7 @@ run_sigchld_trap (nchild) subst_assign_varlist = (WORD_LIST *)NULL; the_pipeline = (PROCESS *)NULL; + temporary_env = 0; /* traps should not run with temporary env */ running_trap = SIGCHLD + 1; |