diff options
author | Thomas Adam <thomas@xteddy.org> | 2019-10-07 10:01:24 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2019-10-07 10:01:24 +0100 |
commit | 7323ffeef22074911038444c0bfc675f56cd9726 (patch) | |
tree | c419c6be1a85f481fa07f6bcad6bf58a4595b3c2 /spawn.c | |
parent | 341b330a04959bc4bce47c50f73493c26fcd0b60 (diff) | |
parent | 4e2cc0ae2a518371d1411bc327f113fc4898954c (diff) | |
download | rtmux-7323ffeef22074911038444c0bfc675f56cd9726.tar.gz rtmux-7323ffeef22074911038444c0bfc675f56cd9726.tar.bz2 rtmux-7323ffeef22074911038444c0bfc675f56cd9726.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'spawn.c')
-rw-r--r-- | spawn.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -251,7 +251,7 @@ spawn_pane(struct spawn_context *sc, char **cause) * Now we have a pane with nothing running in it ready for the new * process. Work out the command and arguments. */ - if (sc->argc == 0) { + if (sc->argc == 0 && (~sc->flags & SPAWN_RESPAWN)) { cmd = options_get_string(s->options, "default-command"); if (cmd != NULL && *cmd != '\0') { argc = 1; |