aboutsummaryrefslogtreecommitdiff
path: root/client.c
diff options
context:
space:
mode:
authornicm <nicm>2020-03-30 15:49:23 +0000
committernicm <nicm>2020-03-30 15:49:23 +0000
commit34de379c7d29b22c5486f32a265ff47425e4860a (patch)
tree1394aae09ff9093389a98fa59d00d88503aa8e17 /client.c
parentc713b65b9e11f8d07475d7f0565044365095029f (diff)
downloadrtmux-34de379c7d29b22c5486f32a265ff47425e4860a.tar.gz
rtmux-34de379c7d29b22c5486f32a265ff47425e4860a.tar.bz2
rtmux-34de379c7d29b22c5486f32a265ff47425e4860a.zip
Add to rather than replace flags with -c.
Diffstat (limited to 'client.c')
-rw-r--r--client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client.c b/client.c
index f819e924..37da9c67 100644
--- a/client.c
+++ b/client.c
@@ -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;