From f28084e935efba2d32dc17be89f933242192cbca Mon Sep 17 00:00:00 2001 From: onefang Date: Tue, 26 Nov 2019 00:49:06 +1000 Subject: Remove more obsolete code. --- apt-panopticon.lua | 2 -- 1 file changed, 2 deletions(-) diff --git a/apt-panopticon.lua b/apt-panopticon.lua index caa72ca..f2eca59 100755 --- a/apt-panopticon.lua +++ b/apt-panopticon.lua @@ -563,8 +563,6 @@ local checkFiles = function (host, ip, path, file) if repoExists(s .. k) then if checkTimeouts(host, "http", ip .. path .. "/merged/dists/" .. s .. k) then return end if checkTimeouts(host, "https", ip .. path .. "/merged/dists/" .. s .. k) then return end --- if testing("http", host) then checkHEAD(host, "http://" .. ip .. path .. "/merged/dists/" .. s .. k); if checkTimeouts(host, "http" ) then return end; end --- if testing("https", host) then checkHEAD(host, "https://" .. ip .. path .. "/merged/dists/" .. s .. k); if checkTimeouts(host, "https") then return end; end end end end -- cgit v1.1