opnsense-src/tools/regression/bin/sh/builtins/exit1.0

6 lines
117 B
Text

# $FreeBSD$
# exit with an argument should overwrite the exit status in an EXIT trap.
trap 'true; exit $?' 0
false