Bash-4.3 patch 6

This commit is contained in:
Chet Ramey 2014-03-28 11:54:05 -04:00
commit 22205f43ab
2 changed files with 2 additions and 2 deletions

2
jobs.c
View file

@ -4374,7 +4374,7 @@ without_job_control ()
void
end_job_control ()
{
if (interactive_shell) /* XXX - should it be interactive? */
if (interactive_shell || job_control) /* XXX - should it be just job_control? */
{
terminate_stopped_jobs ();