1
0
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:
dmiller
2021-12-12 23:42:36 +00:00
parent b281598a4e
commit ccf0f3af78

View File

@@ -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