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
..
2011-05-27 20:53:07 +00:00
2013-01-14 16:40:50 +00:00
2012-11-14 14:08:24 +00:00
2012-07-15 10:49:16 +00:00
2012-01-01 22:17:12 +00:00
2011-06-18 23:43:28 +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
2012-02-04 23:12:14 +00:00