diff options
author | onefang | 2019-12-28 22:45:36 +1000 |
---|---|---|
committer | onefang | 2019-12-28 22:45:36 +1000 |
commit | cafd4c5d4ae2de4266026d44f9340fa3de2f2b40 (patch) | |
tree | 85d972bac4592596b38b7d63e94e557cf954fce1 /apt-panopticon-report-email-web.lua | |
parent | Tweak the dumpTable() arguments a little. (diff) | |
download | apt-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-x | apt-panopticon-report-email-web.lua | 4 |
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() |
652 | end | 652 | end |