aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;