mirror of
https://github.com/tmate-io/tmate.git
synced 2024-12-26 00:29:46 +01:00
Sync OpenBSD patchset 520:
Just ignore tty fd errors rather than dying, stops the server dying if the session is disconnected abrubtly (eg ssh ~.).
This commit is contained in:
parent
36bb298bfa
commit
c01816c26d
3
tty.c
3
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>
|
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||||
@ -138,7 +138,6 @@ void
|
|||||||
tty_error_callback(
|
tty_error_callback(
|
||||||
unused struct bufferevent *bufev, unused short what, unused void *data)
|
unused struct bufferevent *bufev, unused short what, unused void *data)
|
||||||
{
|
{
|
||||||
fatalx("lost terminal");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user