Don't die if the client is detaching (the tty has been closed) after waking up

from locking.
This commit is contained in:
Nicholas Marriott 2009-09-23 07:25:31 +00:00
parent b01dcd7971
commit 631a618238

3
tty.c
View File

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