summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/server.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2019-06-20 06:51:36 +0000
committernicm <nicm@openbsd.org>2019-06-20 06:51:36 +0000
commite32e262ab56c8283645535af31c3e389bd20ff2b (patch)
tree5c0bbd6f592d2acb3bd087786d071a2b5a14a56b /usr.bin/tmux/server.c
parentWork around locking issues in logwakeup(). Instead of actually waking up (diff)
downloadwireguard-openbsd-e32e262ab56c8283645535af31c3e389bd20ff2b.tar.xz
wireguard-openbsd-e32e262ab56c8283645535af31c3e389bd20ff2b.zip
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 'usr.bin/tmux/server.c')
-rw-r--r--usr.bin/tmux/server.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/tmux/server.c b/usr.bin/tmux/server.c
index 7787954e0d3..9790bf0bb0b 100644
--- a/usr.bin/tmux/server.c
+++ b/usr.bin/tmux/server.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: server.c,v 1.186 2019/06/07 20:09:17 nicm Exp $ */
+/* $OpenBSD: server.c,v 1.187 2019/06/20 06:51:36 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -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);