mirror of
https://github.com/nmap/nmap.git
synced 2025-12-24 08:29:04 +00:00
Make 'Starting' and 'Finished' debug prints balanced for worker threads
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user