diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-08-10 20:51:29 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-08-10 20:51:29 +0000 |
commit | edcb22a6fb51f7862ffe694df8c0bdaffdaa8895 (patch) | |
tree | 0fa565891d1affe7a0d05810693e9419bfe2016f | |
parent | 181e1bcffd1f728d0ec32f66b027507857daa598 (diff) | |
download | rtmux-edcb22a6fb51f7862ffe694df8c0bdaffdaa8895.tar.gz rtmux-edcb22a6fb51f7862ffe694df8c0bdaffdaa8895.tar.bz2 rtmux-edcb22a6fb51f7862ffe694df8c0bdaffdaa8895.zip |
No arguments are the same as new-session and this requires the environment to
be sent, so set that flag too when argc == 0.
-rw-r--r-- | tmux.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -462,7 +462,7 @@ main(int argc, char **argv) if (unlock) cmdflags &= ~CMD_STARTSERVER; else if (argc == 0) - cmdflags |= CMD_STARTSERVER; + cmdflags |= CMD_STARTSERVER|CMD_SENDENVIRON; else { /* * It sucks parsing the command string twice (in client and |