i-bash/tests/execscript.sub2
2009-09-12 16:46:50 +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