mirror of
https://github.com/openbsd/src.git
synced 2025-01-10 06:47:55 -08:00
remove duplicate installation of the SIGINT handler;
from Martin Kopta <martin at kopta dot eu>
This commit is contained in:
parent
06057e00f8
commit
d5b157b095
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: bs.c,v 1.39 2016/03/07 12:07:55 mestre Exp $ */
|
||||
/* $OpenBSD: bs.c,v 1.40 2018/08/05 13:32:25 schwarze Exp $ */
|
||||
/*
|
||||
* Copyright (c) 1986, Bruce Holloway
|
||||
* All rights reserved.
|
||||
@ -254,7 +254,6 @@ intro(void)
|
||||
{
|
||||
char *tmpname;
|
||||
|
||||
(void) signal(SIGINT,uninitgame);
|
||||
(void) signal(SIGINT,uninitgame);
|
||||
if(signal(SIGQUIT,SIG_IGN) != SIG_IGN)
|
||||
(void)signal(SIGQUIT,uninitgame);
|
||||
|
Loading…
Reference in New Issue
Block a user