Add SIGTERM reaction -- cleanup
This commit is contained in:
parent
4c32d7dc6b
commit
669c3d9a1a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user