Don't try to unsuspend a client if it isn't suspended.

pull/1/head
Nicholas Marriott 2009-10-21 20:16:40 +00:00
parent 90ad041fa5
commit d69b364b5f
1 changed files with 2 additions and 0 deletions

View File

@ -101,6 +101,8 @@ server_msg_dispatch(struct client *c)
if (datalen != 0)
fatalx("bad MSG_WAKEUP size");
if (!(c->flags & CLIENT_SUSPENDED))
break;
c->flags &= ~CLIENT_SUSPENDED;
tty_start_tty(&c->tty);
server_redraw_client(c);