mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-01 12:19:28 +00:00
sh: Enable interrupts before executing EXIT trap and doing final flush.
This commit is contained in:
parent
fc8929cb29
commit
55c2cd6f48
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=319826
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user