Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam 2018-05-15 17:02:31 +01:00
commit e4e060f2be

View File

@ -100,6 +100,7 @@ cmd_attach_session(struct cmdq_item *item, const char *tflag, int dflag,
s->cwd = format_single(item, cflag, c, s, wl, wp);
}
c->last_session = c->session;
if (c->session != NULL) {
if (dflag) {
TAILQ_FOREACH(c_loop, &clients, entry) {