Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam
2018-03-08 10:02:26 +00:00
8 changed files with 22 additions and 7 deletions

View File

@ -1289,6 +1289,8 @@ server_client_check_exit(struct client *c)
if (EVBUFFER_LENGTH(c->stderr_data) != 0)
return;
if (c->flags & CLIENT_ATTACHED)
notify_client("client-detached", c);
proc_send(c->peer, MSG_EXIT, -1, &c->retval, sizeof c->retval);
c->flags &= ~CLIENT_EXIT;
}