mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Make 'Starting' and 'Finished' debug prints balanced for worker threads
This commit is contained in:
parent
b281598a4e
commit
ccf0f3af78
1 changed files with 4 additions and 1 deletions
|
|
@ -541,7 +541,10 @@ do
|
|||
elseif status == "dead" then
|
||||
if self.action_started then
|
||||
self:set_output(r1, r2);
|
||||
self:d("Finished %THREAD_AGAINST.");
|
||||
-- -d1 = report finished scripts. -d2 = report finished threads
|
||||
if not self.worker or debugging() > 1 then
|
||||
self:d("Finished %THREAD_AGAINST.");
|
||||
end
|
||||
end
|
||||
self:close(timeouts);
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue