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