diff options
author | Tiago Cunha <tcunha@gmx.com> | 2009-08-10 21:43:34 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2009-08-10 21:43:34 +0000 |
commit | 48ede1a00a5e1480534418c2a1846d172533bff1 (patch) | |
tree | 83520e75172a984ad02d8424b4b0fa19fdea8f84 | |
parent | c261ae32d2e37ba296f59f9eb0cd88adbedb69ad (diff) | |
download | rtmux-48ede1a00a5e1480534418c2a1846d172533bff1.tar.gz rtmux-48ede1a00a5e1480534418c2a1846d172533bff1.tar.bz2 rtmux-48ede1a00a5e1480534418c2a1846d172533bff1.zip |
Sync OpenBSD patchset 241:
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 | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: tmux.c,v 1.158 2009-08-09 17:48:55 tcunha Exp $ */ +/* $Id: tmux.c,v 1.159 2009-08-10 21:43:34 tcunha Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -471,7 +471,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 |