From 9ed69b2682d4be5696f607e8a04dd5ab317e8f31 Mon Sep 17 00:00:00 2001 From: onefang Date: Tue, 5 Nov 2019 17:27:03 +1000 Subject: Whitespace clean up. --- apt-panopticon.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apt-panopticon.lua b/apt-panopticon.lua index c68ec48..2a9631b 100755 --- a/apt-panopticon.lua +++ b/apt-panopticon.lua @@ -367,7 +367,7 @@ checkHost = function (orig, host, path, ip, file) else if orig == host then D("checkHost " .. orig .. "" .. file) - if testing("IPv4") then execute("ionice -c3 ./apt-panopticon.lua " .. sendArgs .. " -o " .. orig .. path .. " " .. file .." &") end + if testing("IPv4") then execute("ionice -c3 ./apt-panopticon.lua " .. sendArgs .. " -o " .. orig .. path .. " " .. file .." &") end else D("checkHost " .. orig .. " -> " .. host) end local h = mirrors[ph.host] if nil == h then return end @@ -375,14 +375,14 @@ checkHost = function (orig, host, path, ip, file) if "table" == type(v) then for k1, v1 in pairs(v) do if v1 == "A" then - if testing("IPv4") then execute("ionice -c3 ./apt-panopticon.lua " .. sendArgs .. " " .. orig .. path .. " " .. k1 .. " " .. file .." &") end + if testing("IPv4") then execute("ionice -c3 ./apt-panopticon.lua " .. sendArgs .. " " .. orig .. path .. " " .. k1 .. " " .. file .." &") end elseif v1 == "AAAA" then if testing("IPv6") then execute("ionice -c3 ./apt-panopticon.lua " .. sendArgs .. " " .. orig .. path .. " [" .. k1 .. "] " .. file .. " &") end end end else if v == "A" then - if testing("IPv4") then execute("ionice -c3 ./apt-panopticon.lua " .. sendArgs .. " " .. orig .. path .. " " .. k .. " " .. file .." &") end + if testing("IPv4") then execute("ionice -c3 ./apt-panopticon.lua " .. sendArgs .. " " .. orig .. path .. " " .. k .. " " .. file .." &") end elseif v == "AAAA" then if testing("IPv6") then execute("ionice -c3 ./apt-panopticon.lua " .. sendArgs .. " " .. orig .. path .. " [" .. k .. "] " .. file .. " &") end end -- cgit v1.1