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-29 20:01:47 +00:00
2011-12-11 20:53:12 +00:00
2011-05-13 16:29:57 +00:00
2012-02-22 03:36:15 +00:00
2012-05-12 02:49:40 +00:00
2012-12-28 22:06:33 +00:00
2011-02-04 16:40:50 +00:00
2013-02-07 15:37:51 +00:00
2012-09-27 23:31:12 +00:00
2012-07-15 21:12:22 +00:00
2010-09-13 01:29:51 +00:00