summaryrefslogtreecommitdiffstats
path: root/usr.bin/login
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/login')
-rw-r--r--usr.bin/login/login.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/usr.bin/login/login.c b/usr.bin/login/login.c
index 02081fb..9589ab6 100644
--- a/usr.bin/login/login.c
+++ b/usr.bin/login/login.c
@@ -42,7 +42,7 @@ static char copyright[] =
static char sccsid[] = "@(#)login.c 8.4 (Berkeley) 4/2/94";
#endif
static const char rcsid[] =
- "$Id: login.c,v 1.35 1998/06/01 08:47:04 amurai Exp $";
+ "$Id: login.c,v 1.36 1998/07/22 04:33:12 jdp Exp $";
#endif /* not lint */
/*
@@ -446,8 +446,6 @@ main(argc, argv)
}
}
#else /* !LOGIN_CAP_AUTH */
- (void)signal(SIGINT, SIG_DFL);
- (void)signal(SIGQUIT, SIG_DFL);
#ifdef SKEY
permit_passwd = skeyaccess(username, tty,
hostname ? full_hostname : NULL,
@@ -458,8 +456,6 @@ main(argc, argv)
p = getpass("Password:");
ep = crypt(p, salt);
#endif/* SKEY */
- (void)signal(SIGINT, SIG_IGN);
- (void)signal(SIGQUIT, SIG_IGN);
if (pwd) {
if (!p[0] && pwd->pw_passwd[0])
OpenPOWER on IntegriCloud