parallel: Fixed bug when distributing round robin.

This commit is contained in:
Ole Tange 2013-05-11 10:45:27 +02:00
parent 2b48812915
commit ff813d52ce

View file

@ -1327,7 +1327,7 @@ sub start_more_jobs {
if(start_another_job($sshlogin) == 0) { if(start_another_job($sshlogin) == 0) {
# No more jobs to start on this $sshlogin # No more jobs to start on this $sshlogin
debug("No jobs started on ".$sshlogin->string()."\n"); debug("No jobs started on ".$sshlogin->string()."\n");
last; next;
} }
debug("Job started on ".$sshlogin->string()."\n"); debug("Job started on ".$sshlogin->string()."\n");
$sshlogin->inc_jobs_running(); $sshlogin->inc_jobs_running();