xref: /freebsd/bin/sh/tests/builtins/exit2.8 (revision 5e3190f700637fcfc1a52daeaa4a031fdd2557c7)
1
2# exit without arguments is the same as exit $? outside a trap.
3
4trap 'true; true' 0
5(exit 8)
6exit
7