From 22205f43abedd7b0dbb553e5449a321d3669e881 Mon Sep 17 00:00:00 2001 From: Chet Ramey Date: Fri, 28 Mar 2014 11:54:05 -0400 Subject: Bash-4.3 patch 6 --- jobs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jobs.c') diff --git a/jobs.c b/jobs.c index 2452779..4982019 100644 --- a/jobs.c +++ b/jobs.c @@ -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 (); -- cgit v1.2.3