Ignore SIGQUITs, cause getty dumps core on garbadge from modem line
This commit is contained in:
parent
14810c626c
commit
dd3065a57a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=2391
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user