mirror of
https://github.com/tmate-io/tmate-ssh-server.git
synced 2020-11-18 19:53:51 -08:00
Don't die if the client is detaching (the tty has been closed) after waking up
from locking.
This commit is contained in:
parent
b01dcd7971
commit
631a618238
3
tty.c
3
tty.c
@ -131,6 +131,9 @@ tty_start_tty(struct tty *tty)
|
||||
struct termios tio;
|
||||
int what;
|
||||
|
||||
if (tty->fd == -1)
|
||||
return;
|
||||
|
||||
#if 0
|
||||
tty_detect_utf8(tty);
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user