mirror of
https://github.com/sudo-project/sudo.git
synced 2025-09-01 14:55:12 +00:00
pasto
This commit is contained in:
2
visudo.c
2
visudo.c
@@ -573,7 +573,7 @@ setup_signals()
|
|||||||
*/
|
*/
|
||||||
#ifdef POSIX_SIGNALS
|
#ifdef POSIX_SIGNALS
|
||||||
(void) memset((VOID *)&action, 0, sizeof(action));
|
(void) memset((VOID *)&action, 0, sizeof(action));
|
||||||
sigemptyset(&sact.sa_mask);
|
sigemptyset(&action.sa_mask);
|
||||||
action.sa_flags = 0;
|
action.sa_flags = 0;
|
||||||
action.sa_handler = Exit;
|
action.sa_handler = Exit;
|
||||||
(void) sigaction(SIGTERM, &action, NULL);
|
(void) sigaction(SIGTERM, &action, NULL);
|
||||||
|
Reference in New Issue
Block a user