aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rwxr-xr-xmirror-checker.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/mirror-checker.lua b/mirror-checker.lua
index 069a038..b04d474 100755
--- a/mirror-checker.lua
+++ b/mirror-checker.lua
@@ -6,6 +6,8 @@ local args = {...}
6 6
7verbosity = 0 7verbosity = 0
8keep = false 8keep = false
9-- TODO - Should actually implement this.
10fork = true
9options = 11options =
10{ 12{
11 referenceSite = 13 referenceSite =
@@ -371,6 +373,8 @@ if 0 ~= #args then
371 sendArgs = sendArgs .. a .. " " 373 sendArgs = sendArgs .. a .. " "
372 elseif "-k" == a then 374 elseif "-k" == a then
373 keep = true 375 keep = true
376 elseif "-n" == a then
377 fork = false
374 elseif "--" == a:sub(1, 2) then 378 elseif "--" == a:sub(1, 2) then
375 local s, e = a:find("=") 379 local s, e = a:find("=")
376 if nil == s then e = -1 end 380 if nil == s then e = -1 end