summaryrefslogtreecommitdiffstats
path: root/session.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2017-04-25 18:01:11 +0100
committerThomas Adam <thomas@xteddy.org>2017-04-25 18:01:11 +0100
commit65d6278f883b08673e9dbfefc376864ee01d9655 (patch)
treea505029faa66d1395bcd98d254b08490bc15173a /session.c
parentb9382125636dfe0fa8a114d93a7268b947df9ad5 (diff)
parentc48d09ec8870ac218d6cc2bbec638d59839eda27 (diff)
Merge branch 'obsd-master'
Diffstat (limited to 'session.c')
-rw-r--r--session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/session.c b/session.c
index b69adeaa..238d531f 100644
--- a/session.c
+++ b/session.c
@@ -359,7 +359,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) {