diff options
author | nicm <nicm> | 2017-09-07 13:18:44 +0000 |
---|---|---|
committer | nicm <nicm> | 2017-09-07 13:18:44 +0000 |
commit | 89e057dc4a8410207d3888e901eb3a3062002190 (patch) | |
tree | d82c4fe85aff7eb4b92ff301e0bd3cb09f7195e5 /cmd-set-option.c | |
parent | 466066c3a1393bb2c485b0cfc616b5d9e0afc5f9 (diff) | |
download | rtmux-89e057dc4a8410207d3888e901eb3a3062002190.tar.gz rtmux-89e057dc4a8410207d3888e901eb3a3062002190.tar.bz2 rtmux-89e057dc4a8410207d3888e901eb3a3062002190.zip |
Do not fail if unset an option that is already unset, reported by Thomas
Sattler.
Diffstat (limited to 'cmd-set-option.c')
-rw-r--r-- | cmd-set-option.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-set-option.c b/cmd-set-option.c index 02504d5c..d1ec6fcf 100644 --- a/cmd-set-option.c +++ b/cmd-set-option.c @@ -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 || |