aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/apt-panopticon-report-email-web.lua
diff options
context:
space:
mode:
authoronefang2019-12-28 22:45:36 +1000
committeronefang2019-12-28 22:45:36 +1000
commitcafd4c5d4ae2de4266026d44f9340fa3de2f2b40 (patch)
tree85d972bac4592596b38b7d63e94e557cf954fce1 /apt-panopticon-report-email-web.lua
parentTweak the dumpTable() arguments a little. (diff)
downloadapt-panopticon-cafd4c5d4ae2de4266026d44f9340fa3de2f2b40.zip
apt-panopticon-cafd4c5d4ae2de4266026d44f9340fa3de2f2b40.tar.gz
apt-panopticon-cafd4c5d4ae2de4266026d44f9340fa3de2f2b40.tar.bz2
apt-panopticon-cafd4c5d4ae2de4266026d44f9340fa3de2f2b40.tar.xz
Finish the executable refactor, by using it and removing the original.
Diffstat (limited to 'apt-panopticon-report-email-web.lua')
-rwxr-xr-xapt-panopticon-report-email-web.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-panopticon-report-email-web.lua b/apt-panopticon-report-email-web.lua
index 67d4d13..3304fb2 100755
--- a/apt-panopticon-report-email-web.lua
+++ b/apt-panopticon-report-email-web.lua
@@ -645,8 +645,8 @@ if nil == web then C("opening mirrors file - " .. e) else
645 "You can get the cgp graphing <a href='https://sledjhamr.org/cgit/apt-panopticon_cgp/about/'>source code here (main repo)</a>" .. 645 "You can get the cgp graphing <a href='https://sledjhamr.org/cgit/apt-panopticon_cgp/about/'>source code here (main repo)</a>" ..
646 "and <a href='https://git.devuan.org/onefang/apt-panopticon_cgp'>here (Devuan repo)</a>.</p>\n" 646 "and <a href='https://git.devuan.org/onefang/apt-panopticon_cgp'>here (Devuan repo)</a>.</p>\n"
647 ) 647 )
648 local status, whn = APT.execute('TZ="GMT" ls -l1 --time-style="+%s" results/stamp | cut -d " " -f 6-6') 648 local whn = APT.exe('TZ="GMT" ls -l1 --time-style="+%s" results/stamp | cut -d " " -f 6-6'):Do().result:sub(2, -2)
649 web:write( "<p>This run took " .. (os.time() - tonumber("0" .. whn:sub(2, -2))) .. " seconds.</p>" .. 649 web:write( "<p>This run took " .. (os.time() - tonumber("0" .. whn)) .. " seconds.</p>" ..
650 "\n</body></html>\n") 650 "\n</body></html>\n")
651 web:close() 651 web:close()
652end 652end