mirror of
https://github.com/tmux/tmux.git
synced 2025-09-03 06:17:04 +00:00
Merge branch 'obsd-master'
Conflicts: server.c
This commit is contained in:
@ -92,13 +92,6 @@ cmd_split_window_exec(struct cmd *self, struct cmd_q *cmdq)
|
||||
NULL);
|
||||
to_free = cwd = format_expand(ft, args_get(args, 'c'));
|
||||
format_free(ft);
|
||||
|
||||
if (access(cwd, X_OK) != 0) {
|
||||
free((void *)cwd);
|
||||
cmdq_error(cmdq, "bad working directory: %s",
|
||||
strerror(errno));
|
||||
return (CMD_RETURN_ERROR);
|
||||
}
|
||||
} else if (cmdq->client != NULL && cmdq->client->session == NULL)
|
||||
cwd = cmdq->client->cwd;
|
||||
else
|
||||
|
Reference in New Issue
Block a user