aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-11-10 23:27:57 +0000
committerTiago Cunha <tcunha@gmx.com>2009-11-10 23:27:57 +0000
commitc01816c26ddcf72ae33bad86f0ae9dd53b34aa7a (patch)
tree5475776d77e99ad3153f05a44c8157e5c0b6dcb4
parent36bb298bfacd8945d50994714e8f95da5e24323b (diff)
downloadrtmux-c01816c26ddcf72ae33bad86f0ae9dd53b34aa7a.tar.gz
rtmux-c01816c26ddcf72ae33bad86f0ae9dd53b34aa7a.tar.bz2
rtmux-c01816c26ddcf72ae33bad86f0ae9dd53b34aa7a.zip
Sync OpenBSD patchset 520:
Just ignore tty fd errors rather than dying, stops the server dying if the session is disconnected abrubtly (eg ssh ~.).
-rw-r--r--tty.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tty.c b/tty.c
index 84fa62b9..15cc53b3 100644
--- a/tty.c
+++ b/tty.c
@@ -1,4 +1,4 @@
-/* $Id: tty.c,v 1.172 2009-11-08 23:34:47 tcunha Exp $ */
+/* $Id: tty.c,v 1.173 2009-11-10 23:27:57 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -138,7 +138,6 @@ void
tty_error_callback(
unused struct bufferevent *bufev, unused short what, unused void *data)
{
- fatalx("lost terminal");
}
void