From 1448a873f1bd167ba0f78ab0f1f7d23b3c96d079 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Sun, 20 Oct 2013 17:28:44 +0000 Subject: Do not run any command line command from the client which starts the server until after the configuration file completes. This prevents it racing against run-shell or if-shell in .tmux.conf that run in the background. --- usr.bin/tmux/tmux.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usr.bin/tmux/tmux.h') diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h index 2993b2cc7e8..e05ade7eebd 100644 --- a/usr.bin/tmux/tmux.h +++ b/usr.bin/tmux/tmux.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.h,v 1.430 2013/10/10 12:39:25 nicm Exp $ */ +/* $OpenBSD: tmux.h,v 1.431 2013/10/20 17:28:43 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -1510,6 +1510,7 @@ extern struct cmd_q *cfg_cmd_q; extern int cfg_finished; extern int cfg_references; extern struct causelist cfg_causes; +extern struct client *cfg_client; int load_cfg(const char *, struct cmd_q *, char **); void cfg_default_done(struct cmd_q *); void cfg_show_causes(struct session *); -- cgit v1.2.3