mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-11-22 22:17:54 +00:00
bug #34369: GNU Parallel Bug Reports Incorrect number of jobs-completed with --progress.
This commit is contained in:
parent
5c557c0973
commit
b170f88593
|
@ -1334,9 +1334,9 @@ sub drain_job_queue {
|
||||||
} while ($Global::total_running > 0
|
} while ($Global::total_running > 0
|
||||||
or
|
or
|
||||||
not $Global::start_no_new_jobs and not $Global::JobQueue->empty());
|
not $Global::start_no_new_jobs and not $Global::JobQueue->empty());
|
||||||
|
|
||||||
if($::opt_progress) {
|
if($::opt_progress) {
|
||||||
print $Global::original_stderr "\n";
|
my %progress = progress();
|
||||||
|
print $Global::original_stderr "\r", $progress{'status'}, "\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue