diff options
author | 2017-09-07 13:18:44 +0000 | |
---|---|---|
committer | 2017-09-07 13:18:44 +0000 | |
commit | 65eda5510f20f56b0be981c5256f785e39ae821d (patch) | |
tree | fca675cd2b6f0c86a3a002387ef284df4f17c420 /usr.bin/tmux/cmd-set-option.c | |
parent | rework "Errata" to mention syspatch(8); (diff) | |
download | wireguard-openbsd-65eda5510f20f56b0be981c5256f785e39ae821d.tar.xz wireguard-openbsd-65eda5510f20f56b0be981c5256f785e39ae821d.zip |
Do not fail if unset an option that is already unset, reported by Thomas
Sattler.
Diffstat (limited to 'usr.bin/tmux/cmd-set-option.c')
-rw-r--r-- | usr.bin/tmux/cmd-set-option.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/cmd-set-option.c b/usr.bin/tmux/cmd-set-option.c index 189f2bf2750..acee11ccd78 100644 --- a/usr.bin/tmux/cmd-set-option.c +++ b/usr.bin/tmux/cmd-set-option.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-set-option.c,v 1.117 2017/06/23 15:36:52 nicm Exp $ */ +/* $OpenBSD: cmd-set-option.c,v 1.118 2017/09/07 13:18:44 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -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 || |