diff options
Diffstat (limited to '')
-rwxr-xr-x | apt-panopticon.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-panopticon.lua b/apt-panopticon.lua index fee4e28..72627a0 100755 --- a/apt-panopticon.lua +++ b/apt-panopticon.lua | |||
@@ -1064,7 +1064,7 @@ else | |||
1064 | local fadt = io.popen("ls -dl results_old 2>/dev/null | cut -d '>' -f 2 | cut -d ' ' -f 2") | 1064 | local fadt = io.popen("ls -dl results_old 2>/dev/null | cut -d '>' -f 2 | cut -d ' ' -f 2") |
1065 | local adt = fadt:read('*l') | 1065 | local adt = fadt:read('*l') |
1066 | fadt:close() | 1066 | fadt:close() |
1067 | if (nil ~= adt) and APT.checkFile(adt) then os.execute('ionice -c3 nice -n 19 tar -c --xz ' .. adt .. ' -f ' .. adt .. '.tar.xz &') end | 1067 | if (nil ~= adt) and APT.checkFile(adt) then os.execute('mkdir -p ' .. adt:sub(1, 18) .. '; ionice -c3 nice -n 19 tar -c --xz ' .. adt .. ' -f ' .. adt:sub(1, 18) .. '/' .. adt .. '.tar.xz &') end |
1068 | local dt = os.date('!%F-%H-%M') | 1068 | local dt = os.date('!%F-%H-%M') |
1069 | local fodt = io.popen('TZ="GMT" date -r results/stamp +%F-%H-%M 2>/dev/null', 'r') | 1069 | local fodt = io.popen('TZ="GMT" date -r results/stamp +%F-%H-%M 2>/dev/null', 'r') |
1070 | local odt = fodt:read('*l') | 1070 | local odt = fodt:read('*l') |