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

This commit is contained in:
Nicholas Marriott 2009-10-21 20:16:40 +00:00
parent 90ad041fa5
commit d69b364b5f

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);