mirror of
https://github.com/tmate-io/tmate.git
synced 2026-07-29 13:50:03 +00:00
Merge branch 'obsd-master'
This commit is contained in:
commit
7e9b87f396
1 changed files with 1 additions and 1 deletions
|
|
@ -124,7 +124,7 @@ cmd_switch_client_exec(struct cmd *self, struct cmd_q *cmdq)
|
|||
environ_update(update, &c->environ, &s->environ);
|
||||
}
|
||||
|
||||
if (c->session != NULL)
|
||||
if (c->session != NULL && c->session != s)
|
||||
c->last_session = c->session;
|
||||
c->session = s;
|
||||
status_timer_start(c);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue