mirror of
https://github.com/tmate-io/tmate.git
synced 2024-11-07 16:54:01 +01:00
Fix bug where end guard in control mode was not printed after session
destroyed, from George Nachman.
This commit is contained in:
parent
20f0d917be
commit
7ada64d5f8
@ -158,7 +158,7 @@ cmdq_guard(struct cmd_q *cmdq, const char *guard)
|
||||
{
|
||||
struct client *c = cmdq->client;
|
||||
|
||||
if (c == NULL || c->session == NULL)
|
||||
if (c == NULL)
|
||||
return 0;
|
||||
if (!(c->flags & CLIENT_CONTROL))
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user