i-bash/tests/exec2.sub
2009-09-12 16:46:51 +00:00

5 lines
106 B
Text

# make sure an exit command in an exit trap sets the shell's exit status
trap - 0
trap 'exit 5' 0
exit 0