summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/tty.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2009-11-09 22:50:29 +0000
committernicm <nicm@openbsd.org>2009-11-09 22:50:29 +0000
commit1ce5217c189d628bd24b47d086d0d085b38c1054 (patch)
tree387aca4ef440866e252aefabb08288467316a6ea /usr.bin/tmux/tty.c
parentsupport the userpart+foobar@domainpart syntax which got wiped when i wrote (diff)
downloadwireguard-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.c3
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