From 6fa7b1a2e2fd994cc90b15971f3c5a448107f125 Mon Sep 17 00:00:00 2001 From: onefang Date: Fri, 6 Sep 2019 15:57:41 +1000 Subject: Add a no fork option, though it's not actually implemented yet. --- mirror-checker.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mirror-checker.lua') 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 = {...} verbosity = 0 keep = false +-- TODO - Should actually implement this. +fork = true options = { referenceSite = @@ -371,6 +373,8 @@ if 0 ~= #args then sendArgs = sendArgs .. a .. " " elseif "-k" == a then keep = true + elseif "-n" == a then + fork = false elseif "--" == a:sub(1, 2) then local s, e = a:find("=") if nil == s then e = -1 end -- cgit v1.1