Jilles Tjoelker 3fe1119f98 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
2012-11-14 14:08:24 +00:00
2013-01-13 19:26:33 +00:00
2013-02-07 21:24:10 +00:00
2013-01-22 18:02:58 +00:00