repo.or.cz
/
bash.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Patch-ID: bash32-029
[bash.git]
/
tests
/
exec2.sub
blob
c1caaead5cc24d7e89dbb03ddc79a57f1270a2fa
1
# make sure an exit command in an exit trap sets the shell's exit status
2
trap - 0
3
trap 'exit 5' 0
4
5
exit 0