From 669c3d9a1acb2a3f2988ea2f4ef09813cd84cab7 Mon Sep 17 00:00:00 2001 From: ache Date: Mon, 31 Oct 1994 03:07:39 +0000 Subject: [PATCH] Add SIGTERM reaction -- cleanup --- lib/libncurses/lib_newterm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/libncurses/lib_newterm.c b/lib/libncurses/lib_newterm.c index 1fed65c6f976..88d0a6039477 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