summaryrefslogtreecommitdiff
path: root/sys/netmpls
diff options
context:
space:
mode:
authorAlexander Hall <halex@cvs.openbsd.org>2016-11-06 19:12:59 +0000
committerAlexander Hall <halex@cvs.openbsd.org>2016-11-06 19:12:59 +0000
commit174c1a4b3e7ca128b5540d3419d42f4d056e96af (patch)
tree151e311abf616968a53c0a55f92ff696a38530d9 /sys/netmpls
parent03013a254d6a3b17136ae317d7c8498eeef1cd93 (diff)
Rework the cleanup trap handling using the EXIT trap;
trap 'cleanup; goes; here' EXIT trap exit HUP INT TERM ERR FOO BAR BAZ This makes sure the cleanup is always done (unless we exec), and preserves the exit code, such as SIGINT => 130. Also trap less signals. Special signals are special. tested and OK ajacoutot@
Diffstat (limited to 'sys/netmpls')
0 files changed, 0 insertions, 0 deletions