diff options
| -rwxr-xr-x | apt-panopticon.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-panopticon.lua b/apt-panopticon.lua index b91d47c..f166819 100755 --- a/apt-panopticon.lua +++ b/apt-panopticon.lua | |||
| @@ -238,7 +238,7 @@ checkHEAD = function (host, URL, r, retry, sanity) | |||
| 238 | IP = '--connect-to "' .. pu.host .. '::' .. PU.host .. ':"' | 238 | IP = '--connect-to "' .. pu.host .. '::' .. PU.host .. ':"' |
| 239 | fname = host .. "_" .. pu.host .. '_' .. PU.host .. "_" .. PU.path:gsub("/", "_") .. ".txt" | 239 | fname = host .. "_" .. pu.host .. '_' .. PU.host .. "_" .. PU.path:gsub("/", "_") .. ".txt" |
| 240 | end | 240 | end |
| 241 | os.execute('rm -f results/HEADERS_' .. fname .. ' 2>/dev/null; rm -f results/STATUS_' .. fname .. ' 2>/dev/null') | 241 | os.execute('rm -f results/HEADERS_' .. fname .. ' 2>/dev/null; rm -f results/STATUS_' .. fname .. ' 2>/dev/null; touch results/STATUS_' .. fname) |
| 242 | if not APT.testing(PU.scheme, host) and APT.redir then I(spcd .. string.upper(PU.scheme) .. " not supported, not tested. " .. URL, host); return end | 242 | if not APT.testing(PU.scheme, host) and APT.redir then I(spcd .. string.upper(PU.scheme) .. " not supported, not tested. " .. URL, host); return end |
| 243 | if 0 < r then | 243 | if 0 < r then |
| 244 | check = "Redirecting to" | 244 | check = "Redirecting to" |
