From f3bde4c7290095ccea71252433d1b8c495b616e8 Mon Sep 17 00:00:00 2001 From: onefang Date: Sun, 29 Dec 2019 10:15:13 +1000 Subject: Minor cleanups, no logic changes. --- apt-panopticon-report-email-web.lua | 1 + apt-panopticon.lua | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/apt-panopticon-report-email-web.lua b/apt-panopticon-report-email-web.lua index f69ffcd..7d5ce7f 100755 --- a/apt-panopticon-report-email-web.lua +++ b/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, "")) diff --git a/apt-panopticon.lua b/apt-panopticon.lua index b45ca45..25c2b49 100755 --- a/apt-panopticon.lua +++ b/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') -- cgit v1.1