Only need to chmod +x or -x the socket when a client is created, lost or

attached, rather than every event loop.
This commit is contained in:
Nicholas Marriott
2009-11-11 08:00:42 +00:00
parent 15b9946a40
commit 2756437f4b
5 changed files with 7 additions and 6 deletions

View File

@ -101,6 +101,7 @@ cmd_attach_session_exec(struct cmd *self, struct cmd_ctx *ctx)
server_redraw_client(ctx->cmdclient);
}
recalculate_sizes();
server_update_socket();
return (1); /* 1 means don't tell command client to exit */
}