summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/tmux/client.c')
-rw-r--r--usr.bin/tmux/client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/client.c b/usr.bin/tmux/client.c
index abf05132de8..53a0ce59d35 100644
--- a/usr.bin/tmux/client.c
+++ b/usr.bin/tmux/client.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: client.c,v 1.138 2020/03/12 09:26:34 nicm Exp $ */
+/* $OpenBSD: client.c,v 1.139 2020/03/30 15:49:23 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -251,7 +251,7 @@ client_main(struct event_base *base, int argc, char **argv, int flags)
/* Set up the initial command. */
if (shell_command != NULL) {
msg = MSG_SHELL;
- flags = CLIENT_STARTSERVER;
+ flags |= CLIENT_STARTSERVER;
} else if (argc == 0) {
msg = MSG_COMMAND;
flags |= CLIENT_STARTSERVER;