diff options
Diffstat (limited to 'apt-panopticon.lua')
-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 d6227ec..ce44503 100755 --- a/apt-panopticon.lua +++ b/apt-panopticon.lua | |||
@@ -978,7 +978,7 @@ else | |||
978 | local fadt = io.popen("ls -dl results_old 2>/dev/null | cut -d '>' -f 2 | cut -d ' ' -f 2") | 978 | local fadt = io.popen("ls -dl results_old 2>/dev/null | cut -d '>' -f 2 | cut -d ' ' -f 2") |
979 | local adt = fadt:read('*l') | 979 | local adt = fadt:read('*l') |
980 | fadt:close() | 980 | fadt:close() |
981 | if nil ~= adt then os.execute('tar -c --xz ' .. adt .. ' -f ' .. adt .. '.tar.xz &') end | 981 | if nil ~= adt then os.execute('ionice -c3 nice -n 19 tar -c --xz ' .. adt .. ' -f ' .. adt .. '.tar.xz &') end |
982 | local dt = os.date('!%Y-%m-%d-%H-%M') | 982 | local dt = os.date('!%Y-%m-%d-%H-%M') |
983 | local fodt = io.popen('TZ="GMT" date -r results/stamp +%Y-%m-%d-%H-%M 2>/dev/null', 'r') | 983 | local fodt = io.popen('TZ="GMT" date -r results/stamp +%Y-%m-%d-%H-%M 2>/dev/null', 'r') |
984 | local odt = fodt:read('*l') | 984 | local odt = fodt:read('*l') |