summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/server.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/tmux/server.c')
-rw-r--r--usr.bin/tmux/server.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/server.c b/usr.bin/tmux/server.c
index 19468ef4cbf..4dd19e66968 100644
--- a/usr.bin/tmux/server.c
+++ b/usr.bin/tmux/server.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: server.c,v 1.69 2009/11/04 22:43:11 nicm Exp $ */
+/* $OpenBSD: server.c,v 1.70 2009/11/04 22:47:34 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -193,6 +193,7 @@ error:
c = ARRAY_FIRST(&clients);
server_write_error(c, cause);
+ server_write_client(c, MSG_EXIT, NULL, 0);
xfree(cause);
server_shutdown = 1;