summaryrefslogtreecommitdiffstats
path: root/tests/exec2.sub
blob: c1caaead5cc24d7e89dbb03ddc79a57f1270a2fa (plain)
1
2
3
4
5
# make sure an exit command in an exit trap sets the shell's exit status
trap - 0
trap 'exit 5' 0

exit 0