xref
: /
freebsd
/
bin
/
sh
/
tests
/
parameters
/
exitstatus1.0
(revision 0b3105a37d7adcadcb720112fed4dc4e8040be99)
Home
History
Annotate
Line#
Scopes#
Navigate#
Raw
Download
current directory
1
# $FreeBSD$
2
f() {
3
[ $? = $1 ] || exit 1
4
}
5
6
true
7
f 0
8
false
9
f 1
10