summaryrefslogtreecommitdiff
path: root/job.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1993-04-29 01:20:37 +0000
committerRoland McGrath <roland@redhat.com>1993-04-29 01:20:37 +0000
commit6ee7823efe585f370f923182b4d61efe8b8bd389 (patch)
treeda7379a5e068d6bb456e838af35a0fb7daed0381 /job.c
parent683e4a5de9c796b2fe3f6f7b7921904fb8ac0d54 (diff)
downloadgunmake-6ee7823efe585f370f923182b4d61efe8b8bd389.tar.gz
Formerly job.c.~101~
Diffstat (limited to 'job.c')
-rw-r--r--job.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/job.c b/job.c
index dcdbb9d..9703c74 100644
--- a/job.c
+++ b/job.c
@@ -332,7 +332,14 @@ reap_children (block, err)
/* If there are more commands to run, try to start them. */
if (job_next_command (c))
- start_job_command (c);
+ {
+ /* Check again whether to start remotely.
+ Whether or not we want to changes over time.
+ Also, start_remote_job may need state set up
+ by start_remote_job_p. */
+ c->remote = start_remote_job_p ();
+ start_job_command (c);
+ }
switch (c->file->command_state)
{