mirror of
https://git.busybox.net/busybox
synced 2026-02-07 20:50:26 +00:00
9 lines
149 B
Text
9 lines
149 B
Text
|
|
# "return" in trap sets $? after trap
|
||
|
|
trap "echo TERM;return 11" term
|
||
|
|
f() {
|
||
|
|
(sleep 1; kill $$) &
|
||
|
|
until (exit 42) do (exit 42); done
|
||
|
|
}
|
||
|
|
f
|
||
|
|
echo 11:$?
|