mirror of https://github.com/tmux/tmux.git
Do not fail if unset an option that is already unset, reported by Thomas
Sattler.pull/1062/merge
parent
466066c3a1
commit
89e057dc4a
|
@ -190,7 +190,7 @@ cmd_set_option_exec(struct cmd *self, struct cmdq_item *item)
|
|||
/* Change the option. */
|
||||
if (args_has(args, 'u')) {
|
||||
if (o == NULL)
|
||||
goto fail;
|
||||
goto out;
|
||||
if (idx == -1) {
|
||||
if (oo == global_options ||
|
||||
oo == global_s_options ||
|
||||
|
|
Loading…
Reference in New Issue