diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2009-11-09 22:50:30 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2009-11-09 22:50:30 +0000 |
commit | d3a7a009712961faa719df7d1dd812268fdc9de9 (patch) | |
tree | b92462e2800a287a89f384ac50e446f6f16cce37 /usr.bin | |
parent | 6806ee378011e2764662a9d508e71e773fdb50f1 (diff) |
Just ignore tty fd errors rather than dying, stops the server dying if the
session is disconnected abrubtly (eg ssh ~.).
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/tmux/tty.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/tmux/tty.c b/usr.bin/tmux/tty.c index 243d27e2d4e..96ff8efe0a9 100644 --- a/usr.bin/tmux/tty.c +++ b/usr.bin/tmux/tty.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tty.c,v 1.68 2009/11/05 22:35:28 nicm Exp $ */ +/* $OpenBSD: tty.c,v 1.69 2009/11/09 22:50:29 nicm 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 |