diff options
Diffstat (limited to '')
-rwxr-xr-x | mirror-checker.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mirror-checker.lua b/mirror-checker.lua index d370497..cb28d12 100755 --- a/mirror-checker.lua +++ b/mirror-checker.lua | |||
@@ -436,7 +436,7 @@ if 0 < #arg then | |||
436 | W("slash at end of path! " .. arg[1]) | 436 | W("slash at end of path! " .. arg[1]) |
437 | arg[1] = arg[1]:sub(1, -2) | 437 | arg[1] = arg[1]:sub(1, -2) |
438 | end | 438 | end |
439 | local pu = url.parse("http://" .. arg[1], defaultURL) | 439 | local pu = url.parse("http://" .. arg[1]) |
440 | if nil ~= arg[2] then | 440 | if nil ~= arg[2] then |
441 | logFile, e = io.open("results/mirror-checker-lua_" .. pu.host .. "_" .. arg[2] .. ".log", "a+") | 441 | logFile, e = io.open("results/mirror-checker-lua_" .. pu.host .. "_" .. arg[2] .. ".log", "a+") |
442 | else | 442 | else |
@@ -479,7 +479,7 @@ else | |||
479 | W("slash at end of BaseURL in mirror_list.txt! " .. m.BaseURL) | 479 | W("slash at end of BaseURL in mirror_list.txt! " .. m.BaseURL) |
480 | m.BaseURL = m.BaseURL:sub(1, -2) | 480 | m.BaseURL = m.BaseURL:sub(1, -2) |
481 | end | 481 | end |
482 | local pu = url.parse("http://" .. m.BaseURL, defaultURL) | 482 | local pu = url.parse("http://" .. m.BaseURL) |
483 | checkRedirects(m.BaseURL) | 483 | checkRedirects(m.BaseURL) |
484 | -- forkIP(m.BaseURL) | 484 | -- forkIP(m.BaseURL) |
485 | checkExes("mirror-checker.lua " .. sendArgs) | 485 | checkExes("mirror-checker.lua " .. sendArgs) |