jilles d0155c5dcc sh: When executing a trap, keep exit status along with evalskip.
This ensures 'return' in a trap returns the correct status to the caller.

If evalskip is not set or if it is overridden by a previous evalskip, keep
the old behaviour of restoring the exit status from before the trap.
2013-03-03 17:33:59 +00:00
..
2013-01-14 16:40:50 +00:00
2013-02-07 21:24:10 +00:00
2013-01-22 18:02:58 +00:00