summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2015-12-13 17:58:26 +0000
committernicm <nicm@openbsd.org>2015-12-13 17:58:26 +0000
commit592edd4c5d59a008e9acacd8cd82b7ffdc050ca9 (patch)
tree09c0c6b07ed3a8f3b03eadf5d257c4669d5bfd2f /usr.bin/tmux/cmd.c
parentUse struct cmd_find_state directly and remove cmd_state_flag, also (diff)
downloadwireguard-openbsd-592edd4c5d59a008e9acacd8cd82b7ffdc050ca9.tar.xz
wireguard-openbsd-592edd4c5d59a008e9acacd8cd82b7ffdc050ca9.zip
Don't log an error when doing the first check for move-window.
Diffstat (limited to 'usr.bin/tmux/cmd.c')
-rw-r--r--usr.bin/tmux/cmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/cmd.c b/usr.bin/tmux/cmd.c
index e34e8a37585..f19f3f7c51d 100644
--- a/usr.bin/tmux/cmd.c
+++ b/usr.bin/tmux/cmd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd.c,v 1.112 2015/12/13 17:55:14 nicm Exp $ */
+/* $OpenBSD: cmd.c,v 1.113 2015/12/13 17:58:26 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -512,7 +512,7 @@ cmd_set_state_flag(struct cmd *cmd, struct cmd_q *cmdq, char c)
case CMD_MOVEW_R|CMD_INDEX_T:
case CMD_MOVEW_R|CMD_INDEX_S:
error = cmd_find_target(fsf, cmdq, flag, CMD_FIND_SESSION,
- targetflags);
+ targetflags|CMD_FIND_QUIET);
if (error != 0) {
error = cmd_find_target(fsf, cmdq, flag,
CMD_FIND_WINDOW, CMD_FIND_WINDOW_INDEX);