aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorJilles Tjoelker <jilles@FreeBSD.org>2017-06-11 16:54:04 +0000
committerJilles Tjoelker <jilles@FreeBSD.org>2017-06-11 16:54:04 +0000
commit55c2cd6f483e7cbaef4b0aab884a54281f5ad877 (patch)
treef0e2b4d52f84ad739bb18beb8eb83ee5310bb8d7 /bin
parentfc8929cb29989fc4caad2b23112637c38aad6ff3 (diff)
Notes
Diffstat (limited to 'bin')
-rw-r--r--bin/sh/trap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/sh/trap.c b/bin/sh/trap.c
index ba643d3485df..79444ad1bc10 100644
--- a/bin/sh/trap.c
+++ b/bin/sh/trap.c
@@ -526,11 +526,13 @@ exitshell_savedstatus(void)
*/
evalskip = 0;
trap[0] = NULL;
+ FORCEINTON;
evalstring(p, 0);
}
}
if (!setjmp(loc2.loc)) {
handler = &loc2; /* probably unnecessary */
+ FORCEINTON;
flushall();
#if JOBS
setjobctl(0);