Sign in
coral
/
busybox
/
5fa5c4bde8b9ab75fa0ed37ee2fafca3fd46288a
/
.
/
shell
/
ash_test
/
ash-misc
/
exitcode_trap1.tests
blob: c35b6b3916dfdf3fdd15711537675991e3753c66 [
file
] [
log
] [
blame
]
# "exit" in trap should not use last command's exitcode,
# but exitcode on entering the trap.
(
trap
"echo Trapped; exit"
EXIT
(
exit
1
)
)
echo
One
:
$
?