2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-30 22:05:46 +00:00
This commit is contained in:
Todd C. Miller
2001-02-23 18:03:46 +00:00
parent 394ececcb8
commit 132f59534d

View File

@@ -573,7 +573,7 @@ setup_signals()
*/
#ifdef POSIX_SIGNALS
(void) memset((VOID *)&action, 0, sizeof(action));
sigemptyset(&sact.sa_mask);
sigemptyset(&action.sa_mask);
action.sa_flags = 0;
action.sa_handler = Exit;
(void) sigaction(SIGTERM, &action, NULL);