aboutsummaryrefslogtreecommitdiff
path: root/cmd-if-shell.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2015-12-08 10:01:16 +0000
committerThomas Adam <thomas@xteddy.org>2015-12-08 10:01:16 +0000
commitaf8134a6ffe8304b6cb1849995f446eab8e53b53 (patch)
tree02ada102c67552ff8e9f1ef3c88a096460dd0aaa /cmd-if-shell.c
parenta988c36ccb7d411d995edfa9dbdb7682295d62a0 (diff)
parente0f26dcda36dc35741da6047a11efb853b3137d9 (diff)
downloadrtmux-af8134a6ffe8304b6cb1849995f446eab8e53b53.tar.gz
rtmux-af8134a6ffe8304b6cb1849995f446eab8e53b53.tar.bz2
rtmux-af8134a6ffe8304b6cb1849995f446eab8e53b53.zip
Merge branch 'obsd-master'
Diffstat (limited to 'cmd-if-shell.c')
-rw-r--r--cmd-if-shell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-if-shell.c b/cmd-if-shell.c
index 47f259e7..9907a764 100644
--- a/cmd-if-shell.c
+++ b/cmd-if-shell.c
@@ -86,7 +86,7 @@ cmd_if_shell_exec(struct cmd *self, struct cmd_q *cmdq)
cwd = NULL;
}
- ft = format_create();
+ ft = format_create(0);
format_defaults(ft, NULL, s, wl, wp);
shellcmd = format_expand(ft, args->argv[0]);
format_free(ft);