summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/session.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2017-04-25 15:35:10 +0000
committernicm <nicm@openbsd.org>2017-04-25 15:35:10 +0000
commitff7b5ef005b42abc699850940e35dbf7c1da98a0 (patch)
treee9de0379ae1ece322885b0be763dd9d31e024f87 /usr.bin/tmux/session.c
parentBlock the initial client if there is one until the configuration file (diff)
downloadwireguard-openbsd-ff7b5ef005b42abc699850940e35dbf7c1da98a0.tar.xz
wireguard-openbsd-ff7b5ef005b42abc699850940e35dbf7c1da98a0.zip
Do not update TERM into config file parsing has finished.
Diffstat (limited to 'usr.bin/tmux/session.c')
-rw-r--r--usr.bin/tmux/session.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/session.c b/usr.bin/tmux/session.c
index 64d3a8988d3..ae52de4fdbb 100644
--- a/usr.bin/tmux/session.c
+++ b/usr.bin/tmux/session.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: session.c,v 1.73 2017/03/09 17:02:38 nicm Exp $ */
+/* $OpenBSD: session.c,v 1.74 2017/04/25 15:35:10 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -360,7 +360,7 @@ session_new(struct session *s, const char *name, int argc, char **argv,
shell = _PATH_BSHELL;
hlimit = options_get_number(s->options, "history-limit");
- env = environ_for_session(s);
+ env = environ_for_session(s, 0);
w = window_create_spawn(name, argc, argv, path, shell, cwd, env, s->tio,
s->sx, s->sy, hlimit, cause);
if (w == NULL) {