summaryrefslogtreecommitdiffstats
path: root/lib/libncurses/lib_newterm.c
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1994-10-31 03:07:39 +0000
committerache <ache@FreeBSD.org>1994-10-31 03:07:39 +0000
commit669c3d9a1acb2a3f2988ea2f4ef09813cd84cab7 (patch)
tree21f6c6cb9dbb35942b9441cf3cdd8dfe367bb4d1 /lib/libncurses/lib_newterm.c
parent4c32d7dc6b7ca747534cc0fc53a07992f63b8e21 (diff)
downloadFreeBSD-src-669c3d9a1acb2a3f2988ea2f4ef09813cd84cab7.zip
FreeBSD-src-669c3d9a1acb2a3f2988ea2f4ef09813cd84cab7.tar.gz
Add SIGTERM reaction -- cleanup
Diffstat (limited to 'lib/libncurses/lib_newterm.c')
-rw-r--r--lib/libncurses/lib_newterm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libncurses/lib_newterm.c b/lib/libncurses/lib_newterm.c
index 1fed65c..88d0a60 100644
--- a/lib/libncurses/lib_newterm.c
+++ b/lib/libncurses/lib_newterm.c
@@ -127,6 +127,7 @@ char *use_it = _ncurses_copyright;
sigemptyset(&act.sa_mask);
act.sa_flags = 0;
sigaction(SIGINT, &act, NULL);
+ sigaction(SIGTERM, &act, NULL);
#if 0
sigaction(SIGSEGV, &act, NULL);
#endif
OpenPOWER on IntegriCloud