mirror of
https://github.com/tmate-io/tmate.git
synced 2025-08-15 08:12:46 +02:00
The output log is only useful once and it means creating a file, so open
it once at startup instead of in every call to tty_open.
This commit is contained in:
@ -1178,7 +1178,6 @@ server_client_dispatch_identify(struct client *c, struct imsg *imsg)
|
||||
proc_send(c->peer, MSG_STDIN, -1, NULL, 0);
|
||||
|
||||
c->tty.fd = -1;
|
||||
c->tty.log_fd = -1;
|
||||
|
||||
close(c->fd);
|
||||
c->fd = -1;
|
||||
|
Reference in New Issue
Block a user