From 34de379c7d29b22c5486f32a265ff47425e4860a Mon Sep 17 00:00:00 2001 From: nicm Date: Mon, 30 Mar 2020 15:49:23 +0000 Subject: Add to rather than replace flags with -c. --- client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client.c') 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; -- cgit v1.2.3