summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--job.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/job.c b/job.c
index 77ec21a..0309e2e 100644
--- a/job.c
+++ b/job.c
@@ -683,7 +683,8 @@ start_job (child)
if (start_remote_job_p ())
{
int is_remote, id, used_stdin;
- if (start_remote_job (argv, child->good_stdin ? 0 : bad_stdin,
+ if (start_remote_job (argv, child->environment,
+ child->good_stdin ? 0 : bad_stdin,
&is_remote, &id, &used_stdin))
goto error;
else