aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/apt-panopticon.lua
diff options
context:
space:
mode:
Diffstat (limited to 'apt-panopticon.lua')
-rwxr-xr-xapt-panopticon.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/apt-panopticon.lua b/apt-panopticon.lua
index a97a974..c39a9b9 100755
--- a/apt-panopticon.lua
+++ b/apt-panopticon.lua
@@ -624,7 +624,7 @@ local getMirrors = function ()
624 end 624 end
625 local file, e = io.open("results/mirrors.lua", "w+") 625 local file, e = io.open("results/mirrors.lua", "w+")
626 if nil == file then C("opening mirrors file - " .. e) else 626 if nil == file then C("opening mirrors file - " .. e) else
627 file:write(APT.dumpTable(mirrors, "", "mirrors") .. "\nreturn mirrors\n") 627 file:write(APT.dumpTable(mirrors, "mirrors") .. "\nreturn mirrors\n")
628 file:close() 628 file:close()
629 end 629 end
630 return mirrors 630 return mirrors
@@ -1045,7 +1045,7 @@ if 0 < #arg then
1045 if "" ~= ip then f = f .. "_" .. ip end 1045 if "" ~= ip then f = f .. "_" .. ip end
1046 local rfile, e = io.open("results/" .. f .. ".lua", "w+") 1046 local rfile, e = io.open("results/" .. f .. ".lua", "w+")
1047 if nil == rfile then C("opening results file - " .. e) else 1047 if nil == rfile then C("opening results file - " .. e) else
1048 rfile:write(APT.dumpTable(APT.results, "", "results") .. "\nreturn results\n") 1048 rfile:write(APT.dumpTable(APT.results, "results") .. "\nreturn results\n")
1049 rfile:close() 1049 rfile:close()
1050 end 1050 end
1051 1051
@@ -1190,7 +1190,7 @@ os.execute('sleep 1') -- Wait for things to start up before checking for them.
1190 end 1190 end
1191 local file, e = io.open("results/debians.lua", "w+") 1191 local file, e = io.open("results/debians.lua", "w+")
1192 if nil == file then C("opening debians file - " .. e) else 1192 if nil == file then C("opening debians file - " .. e) else
1193 file:write(APT.dumpTable(debians, "", "debians") .. "\nreturn debians\n") 1193 file:write(APT.dumpTable(debians, "debians") .. "\nreturn debians\n")
1194 file:close() 1194 file:close()
1195 end 1195 end
1196 1196
@@ -1204,7 +1204,7 @@ os.execute('sleep 1') -- Wait for things to start up before checking for them.
1204 end 1204 end
1205 local file, e = io.open("results/mirrors.lua", "w+") 1205 local file, e = io.open("results/mirrors.lua", "w+")
1206 if nil == file then C("opening mirrors file - " .. e) else 1206 if nil == file then C("opening mirrors file - " .. e) else
1207 file:write(APT.dumpTable(APT.mirrors, "", "mirrors") .. "\nreturn mirrors\n") 1207 file:write(APT.dumpTable(APT.mirrors, "mirrors") .. "\nreturn mirrors\n")
1208 file:close() 1208 file:close()
1209 end 1209 end
1210 1210