aboutsummaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-trap/savetrap.right
diff options
context:
space:
mode:
Diffstat (limited to 'shell/hush_test/hush-trap/savetrap.right')
-rw-r--r--shell/hush_test/hush-trap/savetrap.right5
1 files changed, 5 insertions, 0 deletions
diff --git a/shell/hush_test/hush-trap/savetrap.right b/shell/hush_test/hush-trap/savetrap.right
index 2d33427aa..9cfd7a56c 100644
--- a/shell/hush_test/hush-trap/savetrap.right
+++ b/shell/hush_test/hush-trap/savetrap.right
@@ -1,3 +1,8 @@
+trap -- 'echo Exiting' EXIT
trap -- 'echo WINCH!' SIGWINCH
+trap -- 'echo Exiting' EXIT
+trap -- 'echo WINCH!' SIGWINCH
+trap -- 'echo Exiting' EXIT
trap -- 'echo WINCH!' SIGWINCH
Done
+Exiting