summaryrefslogtreecommitdiffstats
path: root/src/kash/tests/trap-int-1
blob: 79e2dbbd2877908888f7d19a4d0d184a46502c58 (plain)
1
2
3
4
5
6
#!/bin/sh

trap 'echo "trap-int-1: caught SIGINT"; exit 0' INT
kill -INT $$
exit 2