summaryrefslogtreecommitdiff
path: root/sig.c
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2018-04-16 16:35:50 -0400
committerChet Ramey <chet.ramey@case.edu>2018-04-16 16:35:50 -0400
commit89149ec09ee0af253eaf98aa9efa2a6f29984ef6 (patch)
tree1e82cf6e6d9fc520e62c696509f66ef2ccafd8fb /sig.c
parentd155fbc5fd8244659631c4d7eedb7228b5f3c3f8 (diff)
downloadbash-89149ec09ee0af253eaf98aa9efa2a6f29984ef6.tar.gz
commit bash-20180413 snapshot
Diffstat (limited to 'sig.c')
-rw-r--r--sig.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sig.c b/sig.c
index 75ff9298..ac2ff1f3 100644
--- a/sig.c
+++ b/sig.c
@@ -371,7 +371,7 @@ top_level_cleanup ()
{
/* Clean up string parser environment. */
while (parse_and_execute_level)
- parse_and_execute_cleanup ();
+ parse_and_execute_cleanup (-1);
#if defined (PROCESS_SUBSTITUTION)
unlink_fifo_list ();
@@ -409,7 +409,7 @@ throw_to_top_level ()
/* Clean up string parser environment. */
while (parse_and_execute_level)
- parse_and_execute_cleanup ();
+ parse_and_execute_cleanup (-1);
if (running_trap > 0)
run_trap_cleanup (running_trap - 1);