diff options
author | jilles <jilles@FreeBSD.org> | 2013-03-03 17:33:59 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2013-03-03 17:33:59 +0000 |
commit | d0155c5dccc3af5494798ad79b42ad906bfd8671 (patch) | |
tree | 8f22588cd3d7dd9680e3d8df2bb3c64c95436187 /usr.bin/find | |
parent | 82dd943a5ebeb1f62f5815e263e3de810e3fbf55 (diff) | |
download | FreeBSD-src-d0155c5dccc3af5494798ad79b42ad906bfd8671.zip FreeBSD-src-d0155c5dccc3af5494798ad79b42ad906bfd8671.tar.gz |
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.
Diffstat (limited to 'usr.bin/find')
0 files changed, 0 insertions, 0 deletions