mirror of
https://github.com/tmate-io/tmate.git
synced 2026-01-23 02:24:06 +00:00
Don't boke when figuring out working directory from configuration file.
This commit is contained in:
parent
7936ce3874
commit
909e1c1a86
3 changed files with 3 additions and 3 deletions
|
|
@ -103,7 +103,7 @@ cmd_split_window_exec(struct cmd *self, struct cmd_q *cmdq)
|
|||
return (CMD_RETURN_ERROR);
|
||||
}
|
||||
cwd = fd;
|
||||
} else if (cmdq->client->session == NULL)
|
||||
} else if (cmdq->client != NULL && cmdq->client->session == NULL)
|
||||
cwd = cmdq->client->cwd;
|
||||
else
|
||||
cwd = s->cwd;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue