diff options
author | 2009-11-09 22:50:29 +0000 | |
---|---|---|
committer | 2009-11-09 22:50:29 +0000 | |
commit | 1ce5217c189d628bd24b47d086d0d085b38c1054 (patch) | |
tree | 387aca4ef440866e252aefabb08288467316a6ea /usr.bin/tmux/tty.c | |
parent | support the userpart+foobar@domainpart syntax which got wiped when i wrote (diff) | |
download | wireguard-openbsd-1ce5217c189d628bd24b47d086d0d085b38c1054.tar.xz wireguard-openbsd-1ce5217c189d628bd24b47d086d0d085b38c1054.zip |
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/tmux/tty.c')
-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 |