mirror of
https://github.com/tmux/tmux.git
synced 2025-09-04 06:56:58 +00:00
Add to rather than replace flags with -c.
This commit is contained in:
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;
|
||||||
|
Reference in New Issue
Block a user