Ignore SIGQUITs, cause getty dumps core on garbadge from modem line

This commit is contained in:
Andrey A. Chernov 1994-08-29 17:28:58 +00:00
parent 14810c626c
commit dd3065a57a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=2391

View File

@ -143,7 +143,7 @@ main(argc, argv)
int repcnt = 0;
signal(SIGINT, SIG_IGN);
signal(SIGQUIT, SIG_DFL);
signal(SIGQUIT, SIG_IGN);
openlog("getty", LOG_ODELAY|LOG_CONS, LOG_AUTH);
gethostname(hostname, sizeof(hostname));