From 6e868b6382cabbacffb1d12dc91f7eb9a8362ce2 Mon Sep 17 00:00:00 2001
From: onefang ") .. "
\n"
+ r = r .. space .. APT.dumpTableHTML(v, k .. "", space) .. "
\n"
else
- r = r .. "") .. "
", space) .. "
\n")
- APT.logFile:write(APT.dumpTable(APT.args, '', 'Arguments'))
+ APT.logFile:write(APT.dumpTable(APT.args, 'Arguments'))
APT.logFile:write("
\n")
else
return false
diff --git a/apt-panopticon-nagios.lua b/apt-panopticon-nagios.lua
index 1cc9bbc..d50a780 100755
--- a/apt-panopticon-nagios.lua
+++ b/apt-panopticon-nagios.lua
@@ -300,7 +300,7 @@ if arguments["verbose"].value > 1 then
print("\nCheckGeneric.lua arguments -")
for k, v in pairs(arguments) do
if type(v.value) == "table" then
- APT.dumpTable(v.value, "", " --" .. k)
+ APT.dumpTable(v.value, " --" .. k)
elseif type(v.value) == "boolean" then
if (v.value) then
printf(" --%s: true\n", k)
diff --git a/apt-panopticon-report-email-web.lua b/apt-panopticon-report-email-web.lua
index 86484be..67d4d13 100755
--- a/apt-panopticon-report-email-web.lua
+++ b/apt-panopticon-report-email-web.lua
@@ -517,7 +517,7 @@ if nil == web then C("opening mirrors file - " .. e) else
"pkgmaster.devuan.org is the master mirror, all the others sync to it. " ..
"
More graphs. with greater detail.
The email report. " .. "All the logs and other output. " .. diff --git a/apt-panopticon-update-data.lua b/apt-panopticon-update-data.lua index e882c49..a26b11b 100755 --- a/apt-panopticon-update-data.lua +++ b/apt-panopticon-update-data.lua @@ -33,7 +33,7 @@ local fixResults = function(f) end local rfile, e = io.open(f, "w+") if nil == rfile then C("opening results file - " .. e) else - rfile:write(APT.dumpTable(results, "", "results") .. "\nreturn results\n") + rfile:write(APT.dumpTable(results, "results") .. "\nreturn results\n") rfile:close() end end @@ -86,7 +86,7 @@ for l in files:lines() do results['IPs'] = v.IPs local rfile, e = io.open(f, "w+") if nil == rfile then C("opening results file - " .. e) else - rfile:write(APT.dumpTable(results, "", "results") .. "\nreturn results\n") + rfile:write(APT.dumpTable(results, "results") .. "\nreturn results\n") rfile:close() end end 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 () end local file, e = io.open("results/mirrors.lua", "w+") if nil == file then C("opening mirrors file - " .. e) else - file:write(APT.dumpTable(mirrors, "", "mirrors") .. "\nreturn mirrors\n") + file:write(APT.dumpTable(mirrors, "mirrors") .. "\nreturn mirrors\n") file:close() end return mirrors @@ -1045,7 +1045,7 @@ if 0 < #arg then if "" ~= ip then f = f .. "_" .. ip end local rfile, e = io.open("results/" .. f .. ".lua", "w+") if nil == rfile then C("opening results file - " .. e) else - rfile:write(APT.dumpTable(APT.results, "", "results") .. "\nreturn results\n") + rfile:write(APT.dumpTable(APT.results, "results") .. "\nreturn results\n") rfile:close() end @@ -1190,7 +1190,7 @@ os.execute('sleep 1') -- Wait for things to start up before checking for them. end local file, e = io.open("results/debians.lua", "w+") if nil == file then C("opening debians file - " .. e) else - file:write(APT.dumpTable(debians, "", "debians") .. "\nreturn debians\n") + file:write(APT.dumpTable(debians, "debians") .. "\nreturn debians\n") file:close() end @@ -1204,7 +1204,7 @@ os.execute('sleep 1') -- Wait for things to start up before checking for them. end local file, e = io.open("results/mirrors.lua", "w+") if nil == file then C("opening mirrors file - " .. e) else - file:write(APT.dumpTable(APT.mirrors, "", "mirrors") .. "\nreturn mirrors\n") + file:write(APT.dumpTable(APT.mirrors, "mirrors") .. "\nreturn mirrors\n") file:close() end