aboutsummaryrefslogtreecommitdiff
path: root/cmd-if-shell.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2021-03-02 12:01:25 +0000
committerThomas Adam <thomas@xteddy.org>2021-03-02 12:01:25 +0000
commit2301bee87ddfcdc307d8cb4e3f62eed9fb94d311 (patch)
treeff292eb08ed29269c7829f3908cc9e265663fe02 /cmd-if-shell.c
parent48131c6d020220e6998512198b73819c5a085db9 (diff)
parent81f9a23d25237f2b0c52a2867ddd2db59cc8f368 (diff)
downloadrtmux-2301bee87ddfcdc307d8cb4e3f62eed9fb94d311.tar.gz
rtmux-2301bee87ddfcdc307d8cb4e3f62eed9fb94d311.tar.bz2
rtmux-2301bee87ddfcdc307d8cb4e3f62eed9fb94d311.zip
Merge branch 'obsd-master' into 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 d980472a..65fbf19b 100644
--- a/cmd-if-shell.c
+++ b/cmd-if-shell.c
@@ -128,7 +128,7 @@ cmd_if_shell_exec(struct cmd *self, struct cmdq_item *item)
cdata->input.c->references++;
cmd_find_copy_state(&cdata->input.fs, target);
- if (job_run(shellcmd, s,
+ if (job_run(shellcmd, 0, NULL, s,
server_client_get_cwd(cmdq_get_client(item), s), NULL,
cmd_if_shell_callback, cmd_if_shell_free, cdata, 0, -1,
-1) == NULL) {