See #378. Additional fix for batch mode

git-svn-id: file:///home/svn/framework3/trunk@7264 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2009-10-26 03:54:44 +00:00
parent 8328bf654b
commit 6da0013b91
1 changed files with 2 additions and 2 deletions

View File

@ -153,7 +153,7 @@ def run
# Create a thread for each batch
if (batch.length > 0)
t << Thread.new(batch) do |bat|
t = Thread.new(batch) do |bat|
nmod = self.replicant
mybatch = bat.dup
begin
@ -192,7 +192,7 @@ def run
tlb = 0
tl.map {|t| tlb += t[:batch_size] }
@range_done = tla - tlb
@range_done += tla - tlb
scanner_show_progress()
end