summaryrefslogtreecommitdiffstats
path: root/client.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2020-03-30 18:01:28 +0100
committerThomas Adam <thomas@xteddy.org>2020-03-30 18:01:28 +0100
commit588865152a1bb70d77758b68a2869b794aa31dd4 (patch)
treeb3532c16457d78f7f2170d1f3527c9d689b56098 /client.c
parenta46916b45250ef21d22d7a1fc1bb7a89bd0a3645 (diff)
parent1fb504d0d5c73c1a0a3585e02e1e3114a3194625 (diff)
Merge branch 'obsd-master'
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 52bf302c..c608ec9d 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;