aboutsummaryrefslogtreecommitdiff
path: root/server-msg.c
diff options
context:
space:
mode:
Diffstat (limited to 'server-msg.c')
-rw-r--r--server-msg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server-msg.c b/server-msg.c
index 6cc69a0a..3e82f90a 100644
--- a/server-msg.c
+++ b/server-msg.c
@@ -90,7 +90,7 @@ server_msg_dispatch(struct client *c)
fatalx("bad MSG_EXITING size");
c->session = NULL;
- tty_close(&c->tty, c->flags & CLIENT_SUSPENDED);
+ tty_close(&c->tty);
server_write_client(c, MSG_EXITED, NULL, 0);
break;
case MSG_UNLOCK: