mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-30 05:48:18 +00:00
Fix cut & pasto that prevented the SIGPIPE handler from being
restored before returning from tgetpass(). From mancha
This commit is contained in:
parent
f25cf99679
commit
b78a985bf0
@ -174,7 +174,7 @@ restore:
|
||||
(void) sigaction(SIGTSTP, &savetstp, NULL);
|
||||
(void) sigaction(SIGTTIN, &savettin, NULL);
|
||||
(void) sigaction(SIGTTOU, &savettou, NULL);
|
||||
(void) sigaction(SIGTTOU, &savepipe, NULL);
|
||||
(void) sigaction(SIGPIPE, &savepipe, NULL);
|
||||
if (input != STDIN_FILENO)
|
||||
(void) close(input);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user