1
0
mirror of https://github.com/tmate-io/tmate-ssh-server.git synced 2020-11-18 19:53:51 -08:00

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:
Nicholas Marriott 2009-11-09 22:50:29 +00:00
parent 591fa23f6e
commit 6609093625

1
tty.c
View File

@ -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