busybox/shell/hush_test/hush-trap/exit.right
Denys Vlasenko a110c90de2 hush: fix EXIT trap display inside exit trap handler
function                                             old     new   delta
hush_exit                                             84      78      -6

Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
2010-09-12 15:38:04 +02:00

13 lines
180 B
Plaintext

cow
moo
Traps1:
trap -- 'exitfunc' EXIT
Traps2:
trap -- 'echo Should not run' EXIT
Check1: 42
Traps1:
trap -- 'exitfunc' EXIT
Traps2:
trap -- 'echo Should not run' EXIT
Check2: 42