Browse Source

Minor cleanups, no logic changes.

master
onefang 3 years ago
parent
commit
f3bde4c729
  1. 1
      apt-panopticon-report-email-web.lua
  2. 2
      apt-panopticon.lua

1
apt-panopticon-report-email-web.lua

@ -634,6 +634,7 @@ if nil == web then C("opening mirrors file - " .. e) else
if "" == log then n[l] = w else n[log .. " " .. revDNS(APT.debians, k, l)] = w end
end
end
m[log .. " DNS entries -" .. redirs(APT.mirrors, k)] = n
end
web:write(APT.dumpTableHTML(m, ""))

2
apt-panopticon.lua

@ -386,7 +386,6 @@ checkHEAD = function (host, URL, r, retry, sanity)
local pth = path:match('^(.*/pool/).*$')
if nil ~= pth then table.insert(APT.results[PU.scheme].redirects, pu.host .. "/" .. pth) else E('Odd redirect path ' .. path) end
I(" Now checking redirected host " .. u)
-- APT.fork("ionice -c3 nice -n 19 " .. downloadLock .. "REDIR-" .. check .. ".log.txt" .. " ./apt-panopticon.lua " .. extraArgs .. ' ' .. pu.host .. "/" .. path .. " " .. file)
APT.exe(downloadLock .. "REDIR-" .. check .. ".log.txt" .. " ./apt-panopticon.lua " .. extraArgs .. ' ' .. pu.host .. "/" .. path .. " " .. file):Nice():log():fork()
D('logging to ' .. APT.logName(pu.host, nil, file)[2])
end
@ -1134,7 +1133,6 @@ os.execute('sleep 1') -- Wait for things to start up before checking for them.
for j, b in pairs(a) do
IPfiles[i][j] = {}
end
else
end
end
local files = io.popen('ls -1 results/LOG_' .. hst .. '_*.html')

Loading…
Cancel
Save