summaryrefslogtreecommitdiff
path: root/usr.bin/tmux
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2015-12-13 17:58:27 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2015-12-13 17:58:27 +0000
commit135e6b3602d41f4d63900a05d7a6bd8248203f40 (patch)
treee867309c0c69735cbd46a6a2d2055009f3a9b993 /usr.bin/tmux
parente910c0c0443b8d4be9918d9c6aef5cea12ee8bbc (diff)
Don't log an error when doing the first check for move-window.
Diffstat (limited to 'usr.bin/tmux')
-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);