summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/getpass.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gen/getpass.c')
-rw-r--r--lib/libc/gen/getpass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/gen/getpass.c b/lib/libc/gen/getpass.c
index d1b3835..cf6088a 100644
--- a/lib/libc/gen/getpass.c
+++ b/lib/libc/gen/getpass.c
@@ -67,7 +67,7 @@ getpass(prompt)
* note - blocking signals isn't necessarily the
* right thing, but we leave it for now.
*/
- omask = sigblock(sigmask(SIGINT)|sigmask(SIGTSTP));
+ omask = sigblock(sigmask(SIGTSTP));
(void)tcgetattr(fileno(fp), &term);
if (echo = (term.c_lflag & ECHO)) {
term.c_lflag &= ~ECHO;
OpenPOWER on IntegriCloud