summaryrefslogtreecommitdiffstats
path: root/cmd-new-session.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-11-11 08:00:42 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-11-11 08:00:42 +0000
commit2756437f4bd1c0def6877e3742f018b3fbb721da (patch)
tree77a50265b96bff13535689934a1c597487d96406 /cmd-new-session.c
parent15b9946a4094d22f3bde6ef5af67fbb526807329 (diff)
Only need to chmod +x or -x the socket when a client is created, lost or
attached, rather than every event loop.
Diffstat (limited to 'cmd-new-session.c')
-rw-r--r--cmd-new-session.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd-new-session.c b/cmd-new-session.c
index 4889ab4b..a9657a97 100644
--- a/cmd-new-session.c
+++ b/cmd-new-session.c
@@ -277,6 +277,7 @@ cmd_new_session_exec(struct cmd *self, struct cmd_ctx *ctx)
}
}
recalculate_sizes();
+ server_update_socket();
return (!detached); /* 1 means don't tell command client to exit */
}