mirror of
https://github.com/tmate-io/tmate-ssh-server.git
synced 2020-11-18 19:53:51 -08:00
No need to set cwd on Cygwin now, from Yuya Adachi.
This commit is contained in:
parent
2ad9caad3f
commit
83c96d2685
@ -1203,7 +1203,6 @@ server_client_dispatch_identify(struct client *c, struct imsg *imsg)
|
||||
|
||||
#ifdef __CYGWIN__
|
||||
c->fd = open(c->ttyname, O_RDWR|O_NOCTTY);
|
||||
c->cwd = open(".", O_RDONLY);
|
||||
#endif
|
||||
|
||||
if (c->flags & CLIENT_CONTROL) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user