mirror of
https://github.com/tmux/tmux.git
synced 2025-01-12 03:08:46 +00:00
Add to rather than replace flags with -c.
This commit is contained in:
parent
c713b65b9e
commit
34de379c7d
2
client.c
2
client.c
@ -251,7 +251,7 @@ client_main(struct event_base *base, int argc, char **argv, int flags)
|
|||||||
/* Set up the initial command. */
|
/* Set up the initial command. */
|
||||||
if (shell_command != NULL) {
|
if (shell_command != NULL) {
|
||||||
msg = MSG_SHELL;
|
msg = MSG_SHELL;
|
||||||
flags = CLIENT_STARTSERVER;
|
flags |= CLIENT_STARTSERVER;
|
||||||
} else if (argc == 0) {
|
} else if (argc == 0) {
|
||||||
msg = MSG_COMMAND;
|
msg = MSG_COMMAND;
|
||||||
flags |= CLIENT_STARTSERVER;
|
flags |= CLIENT_STARTSERVER;
|
||||||
|
Loading…
Reference in New Issue
Block a user