summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/client.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2020-03-30 15:49:23 +0000
committernicm <nicm@openbsd.org>2020-03-30 15:49:23 +0000
commitb9704b836e4082da3585dae65a9da58b78dcdf5a (patch)
tree2470708a2e7067c276c2804b67ec8ed21018ae1f /usr.bin/tmux/client.c
parent"eventually" came and went back in 2004. (diff)
downloadwireguard-openbsd-b9704b836e4082da3585dae65a9da58b78dcdf5a.tar.xz
wireguard-openbsd-b9704b836e4082da3585dae65a9da58b78dcdf5a.zip
Add to rather than replace flags with -c.
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;