diff options
author | ache <ache@FreeBSD.org> | 1994-10-31 03:07:39 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1994-10-31 03:07:39 +0000 |
commit | 669c3d9a1acb2a3f2988ea2f4ef09813cd84cab7 (patch) | |
tree | 21f6c6cb9dbb35942b9441cf3cdd8dfe367bb4d1 | |
parent | 4c32d7dc6b7ca747534cc0fc53a07992f63b8e21 (diff) | |
download | FreeBSD-src-669c3d9a1acb2a3f2988ea2f4ef09813cd84cab7.zip FreeBSD-src-669c3d9a1acb2a3f2988ea2f4ef09813cd84cab7.tar.gz |
Add SIGTERM reaction -- cleanup
-rw-r--r-- | lib/libncurses/lib_newterm.c | 1 |
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 |