summaryrefslogtreecommitdiffstats
path: root/server.c
diff options
context:
space:
mode:
authornicm <nicm>2019-06-20 06:51:36 +0000
committernicm <nicm>2019-06-20 06:51:36 +0000
commitae541287d303fb253b3cd75341c318dcc6a8db4a (patch)
tree6994a84529e649566cc0d1e4e4f2a6367f190422 /server.c
parent250fdd08bea74f47fc9a8962d5688db353896921 (diff)
Expand command formats in %if and move the config file loading later (to
when the first client has identified) so all the client formats are available, fixes problems reported by Thomas Sattler.
Diffstat (limited to 'server.c')
-rw-r--r--server.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/server.c b/server.c
index fc3730ad..e75b02da 100644
--- a/server.c
+++ b/server.c
@@ -208,8 +208,7 @@ server_start(struct tmuxproc *client, struct event_base *base, int lockfd,
cmdq_append(c, cmdq_get_error(cause));
free(cause);
c->flags |= CLIENT_EXIT;
- } else
- start_cfg();
+ }
server_add_accept(0);
proc_loop(server_proc, server_loop);