summaryrefslogtreecommitdiffstats
path: root/src/os_unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/os_unix.c')
-rw-r--r--src/os_unix.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/os_unix.c b/src/os_unix.c
index 8e5ac6c8f0..bcfffb425f 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -5141,8 +5141,7 @@ mch_start_job(char **argv, job_T *job, jobopt_T *options)
# ifdef FEAT_CHANNEL
channel_set_pipes(channel, fd_in[1], fd_out[0],
use_out_for_err ? INVALID_FD : fd_err[0]);
- channel_set_job(channel, job);
- channel_set_options(channel, options);
+ channel_set_job(channel, job, options);
# ifdef FEAT_GUI
channel_gui_register(channel);
# endif