sh: Enable interrupts before executing EXIT trap and doing final flush.
This commit is contained in:
parent
a17a213fbb
commit
75a08b42cd
@ -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