projects
/
oweals
/
busybox.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
hush: implement "return NUM in trap sets $? after trap"
[oweals/busybox.git]
/
shell
/
hush_test
/
hush-misc
/
exitcode_trap4.tests
1
# "return" in trap sets $? after trap
2
trap "echo TERM;return 11" term
3
f() {
4
(sleep 1; kill $$) &
5
until (exit 42) do (exit 42); done
6
}
7
f
8
echo 11:$?