diff options
author | 2016-04-29 17:12:12 +0000 | |
---|---|---|
committer | 2016-04-29 17:12:12 +0000 | |
commit | 640c09040b17d9e796d16268f343137772427ba4 (patch) | |
tree | 74980966ebd2d42583d680e5bb807611bb981ece /usr.bin/tmux/cmd-if-shell.c | |
parent | Call sched_init_cpu() just before booting secondary CPUs. (diff) | |
download | wireguard-openbsd-640c09040b17d9e796d16268f343137772427ba4.tar.xz wireguard-openbsd-640c09040b17d9e796d16268f343137772427ba4.zip |
Expand client formats (like run-shell), from Stephen M Coakley.
Diffstat (limited to 'usr.bin/tmux/cmd-if-shell.c')
-rw-r--r-- | usr.bin/tmux/cmd-if-shell.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/cmd-if-shell.c b/usr.bin/tmux/cmd-if-shell.c index 5c9185774f6..cdf8545635c 100644 --- a/usr.bin/tmux/cmd-if-shell.c +++ b/usr.bin/tmux/cmd-if-shell.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-if-shell.c,v 1.42 2016/04/29 14:05:24 nicm Exp $ */ +/* $OpenBSD: cmd-if-shell.c,v 1.43 2016/04/29 17:12:12 nicm Exp $ */ /* * Copyright (c) 2009 Tiago Cunha <me@tiagocunha.org> @@ -81,7 +81,7 @@ cmd_if_shell_exec(struct cmd *self, struct cmd_q *cmdq) cwd = NULL; ft = format_create(cmdq, 0); - format_defaults(ft, NULL, s, wl, wp); + format_defaults(ft, cmdq->state.c, s, wl, wp); shellcmd = format_expand(ft, args->argv[0]); format_free(ft); |