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

trap 'echo "trap-term-1: caught SIGTERM"; exit 0' TERM
kill -TERM $$
exit 2