summaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-signals/exit.right
blob: 3d0072564bc880a87e3a9460a1cf8ac858224429 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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