diff options
author | Chet Ramey <chet.ramey@case.edu> | 2011-12-08 20:14:08 -0500 |
---|---|---|
committer | Chet Ramey <chet.ramey@case.edu> | 2011-12-08 20:14:08 -0500 |
commit | 691aebcba30d177684f6cbb95e9377dfc598bda0 (patch) | |
tree | 4dff4b9ee7b8cf166437ec6883a8a4a569e30253 /sig.c | |
parent | 3eb2d94ad75ee80120ed2879f56dc954ddfeb03d (diff) | |
download | bash-691aebcba30d177684f6cbb95e9377dfc598bda0.tar.gz |
commit bash-20090813 snapshot
Diffstat (limited to 'sig.c')
-rw-r--r-- | sig.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -526,7 +526,7 @@ termsig_handler (sig) #endif /* HISTORY */ #if defined (JOB_CONTROL) - if (interactive && sig == SIGHUP) + if (sig == SIGHUP && (interactive || (subshell_environment & (SUBSHELL_COMSUB|SUBSHELL_PROCSUB)))) hangup_all_jobs (); end_job_control (); #endif /* JOB_CONTROL */ |