diff options
author | Thomas Adam <thomas@xteddy.org> | 2020-03-19 14:01:31 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2020-03-19 14:01:31 +0000 |
commit | 17e4f2394a15602100ad72a052cf9b00e77f208a (patch) | |
tree | a8b6e59db7a20e49afc64cf46a59a27aeb93245b /cmd-if-shell.c | |
parent | 7595b22e723e1a71ff84ba8d5fa9ad12454f501a (diff) | |
parent | ce61bf931b1af18064ab84542ee8f4a64e498fed (diff) | |
download | rtmux-17e4f2394a15602100ad72a052cf9b00e77f208a.tar.gz rtmux-17e4f2394a15602100ad72a052cf9b00e77f208a.tar.bz2 rtmux-17e4f2394a15602100ad72a052cf9b00e77f208a.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'cmd-if-shell.c')
-rw-r--r-- | cmd-if-shell.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd-if-shell.c b/cmd-if-shell.c index 2befbc0c..b008241d 100644 --- a/cmd-if-shell.c +++ b/cmd-if-shell.c @@ -144,7 +144,8 @@ cmd_if_shell_exec(struct cmd *self, struct cmdq_item *item) cmd_find_copy_state(&cdata->input.fs, fs); if (job_run(shellcmd, s, server_client_get_cwd(item->client, s), NULL, - cmd_if_shell_callback, cmd_if_shell_free, cdata, 0) == NULL) { + cmd_if_shell_callback, cmd_if_shell_free, cdata, 0, -1, + -1) == NULL) { cmdq_error(item, "failed to run command: %s", shellcmd); free(shellcmd); free(cdata); |