summaryrefslogtreecommitdiff
path: root/sig.c
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2020-09-09 15:25:32 -0400
committerChet Ramey <chet.ramey@case.edu>2020-09-09 15:25:32 -0400
commit3eb0018e75b74bb886df7fba4b1712529ce7258f (patch)
tree13b53713ef8f483a82295324e314da48b59c9346 /sig.c
parent712f80b0a49c3a0227d0b52bff5e0b763747697e (diff)
downloadbash-5.1-beta.tar.gz
bash-5.1 beta releasebash-5.1-beta
Diffstat (limited to 'sig.c')
-rw-r--r--sig.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sig.c b/sig.c
index a643c21b..44aa9939 100644
--- a/sig.c
+++ b/sig.c
@@ -526,7 +526,6 @@ termsig_sighandler (sig)
terminating_signal = sig;
- /* XXX - should this also trigger when interrupt_immediately is set? */
if (terminate_immediately)
{
#if defined (HISTORY)
@@ -594,7 +593,7 @@ termsig_handler (sig)
#endif /* JOB_CONTROL */
#if defined (PROCESS_SUBSTITUTION)
- unlink_fifo_list ();
+ unlink_all_fifos ();
# if defined (JOB_CONTROL)
procsub_clear ();
# endif
@@ -669,7 +668,8 @@ sigint_sighandler (sig)
wait_signal_received = sig;
SIGRETURN (0);
}
-
+
+ /* This is no longer used, but this code block remains as a reminder. */
if (interrupt_immediately)
{
interrupt_immediately = 0;