Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam
2017-04-25 18:01:11 +01:00
8 changed files with 47 additions and 16 deletions

View File

@ -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) {