mirror of
https://github.com/tmux/tmux.git
synced 2025-09-03 14:27:09 +00:00
Revert change to handle command parsing failures in the client because
it breaks aliases.
This commit is contained in:
7
client.c
7
client.c
@ -267,13 +267,8 @@ client_main(struct event_base *base, int argc, char **argv, uint64_t flags,
|
|||||||
if (cmd_list_any_have(pr->cmdlist, CMD_STARTSERVER))
|
if (cmd_list_any_have(pr->cmdlist, CMD_STARTSERVER))
|
||||||
flags |= CLIENT_STARTSERVER;
|
flags |= CLIENT_STARTSERVER;
|
||||||
cmd_list_free(pr->cmdlist);
|
cmd_list_free(pr->cmdlist);
|
||||||
} else {
|
} else
|
||||||
fprintf(stderr, "%s\n", pr->error);
|
|
||||||
args_free_values(values, argc);
|
|
||||||
free(values);
|
|
||||||
free(pr->error);
|
free(pr->error);
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
args_free_values(values, argc);
|
args_free_values(values, argc);
|
||||||
free(values);
|
free(values);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user