From 2f9fb8d56ffa42a61e4a1b68dba2e85e4d7a94ae Mon Sep 17 00:00:00 2001 From: Packit Service Date: Dec 09 2020 08:19:38 +0000 Subject: Apply patch bash-4.4-patch-11.patch patch_name: bash-4.4-patch-11.patch present_in_specfile: true location_in_specfile: 11 --- diff --git a/patchlevel.h b/patchlevel.h index 8002af7..772676c 100644 --- a/patchlevel.h +++ b/patchlevel.h @@ -25,6 +25,6 @@ regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh looks for to find the patch level (for the sccs version string). */ -#define PATCHLEVEL 10 +#define PATCHLEVEL 11 #endif /* _PATCHLEVEL_H_ */ diff --git a/sig.c b/sig.c index ad01631..e5bb739 100644 --- a/sig.c +++ b/sig.c @@ -585,7 +585,8 @@ termsig_handler (sig) #if defined (JOB_CONTROL) if (sig == SIGHUP && (interactive || (subshell_environment & (SUBSHELL_COMSUB|SUBSHELL_PROCSUB)))) hangup_all_jobs (); - end_job_control (); + if ((subshell_environment & (SUBSHELL_COMSUB|SUBSHELL_PROCSUB)) == 0) + end_job_control (); #endif /* JOB_CONTROL */ #if defined (PROCESS_SUBSTITUTION)