summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-08-29 11:05:50 +1100
committerDamien Miller <djm@mindrot.org>2000-08-29 11:05:50 +1100
commit4e0f5e1ec9b6318ef251180dbca50eaa01f74536 (patch)
treee0db3496b81030624ab28d0c7a478e8827ea2a56 /sshd.c
parentf3df05248675a2be76c72a0cd92f3b8f8f26af7b (diff)
- (djm) Fix ^C ignored issue on Solaris. Diagnosis from Gert
Doering <gert@greenie.muc.de>, John Horne <J.Horne@plymouth.ac.uk> and Garrick James <garrick@james.net>
Diffstat (limited to 'sshd.c')
-rw-r--r--sshd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sshd.c b/sshd.c
index ae02f2c4..e3903c78 100644
--- a/sshd.c
+++ b/sshd.c
@@ -956,6 +956,7 @@ main(int ac, char **av)
signal(SIGTERM, SIG_DFL);
signal(SIGQUIT, SIG_DFL);
signal(SIGCHLD, SIG_DFL);
+ signal(SIGINT, SIG_DFL);
/*
* Set socket options for the connection. We want the socket to