mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
Stop caring about empty commands, just treat as a null command.
This commit is contained in:
@ -443,10 +443,6 @@ options_array_set(struct options_entry *o, u_int idx, const char *value,
|
||||
if (OPTIONS_IS_COMMAND(o)) {
|
||||
pr = cmd_parse_from_string(value, NULL);
|
||||
switch (pr->status) {
|
||||
case CMD_PARSE_EMPTY:
|
||||
if (cause != NULL)
|
||||
*cause = xstrdup("empty command");
|
||||
return (-1);
|
||||
case CMD_PARSE_ERROR:
|
||||
if (cause != NULL)
|
||||
*cause = pr->error;
|
||||
|
Reference in New Issue
Block a user