From c9a48ee9a343f8badca81a39beae487a84127dfe Mon Sep 17 00:00:00 2001 From: onefang Date: Mon, 30 Sep 2019 01:33:02 +1000 Subject: Remove some left overs. --- mirror-checker.lua | 5 ----- 1 file changed, 5 deletions(-) diff --git a/mirror-checker.lua b/mirror-checker.lua index 34d1023..8634e3a 100755 --- a/mirror-checker.lua +++ b/mirror-checker.lua @@ -495,7 +495,6 @@ if 0 < #arg then if nil == logFile then C("opening log file - " .. e); return end I("Starting tests for " ..arg[1] .. " with these tests - " .. table.concat(options.tests.value, ", ")) mirrors = loadfile("results/mirrors.lua")() ---print(dumpTable(mirrors, "", "mirrors")) if nil ~= arg[2] then I(" Using IP " .. arg[2]) end if nil ~= arg[3] then I(" Using file " .. arg[3]); end if testing("Integrity") or testing("Updated") then @@ -521,12 +520,9 @@ else I("Starting tests " .. table.concat(options.tests.value, ", ")) execute("mkdir -p results") mirrors = getMirrors() ---print(dumpTable(mirrors, "", "mirrors")) mirrors[options.referenceSite.value] = nil checkHost(options.referenceSite.value) --- forkIP(options.referenceSite.value) checkHost("deb.devuan.org") --- forkIP("deb.devuan.org") for k, m in pairs(mirrors) do if "/" == m.BaseURL:sub(-1, -1) then W("slash at end of BaseURL in mirror_list.txt! " .. m.BaseURL) @@ -534,7 +530,6 @@ else end local pu = url.parse("http://" .. m.BaseURL) checkHost(m.BaseURL) --- forkIP(m.BaseURL) checkExes("mirror-checker.lua " .. sendArgs) if testing("Integrity") or testing("Updated") then checkExes(downloadLock) end end -- cgit v1.1