aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2024-02-19 00:47:00 +0100
committerMatěj Cepl <mcepl@cepl.eu>2024-03-04 09:39:21 +0100
commit4f549c758343935f842e4f85d27955e92862ca4c (patch)
treecee2db910df8e13ebd174ec2d5c2bf84346cf7b5
parenteb0a541d5d250d6d6559be509c71e12f39230a01 (diff)
downloadvis-par-4f549c758343935f842e4f85d27955e92862ca4c.tar.gz
Actually clean up after yourself.HEADmaster
-rw-r--r--init.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/init.lua b/init.lua
index 0276b4a..4411c37 100644
--- a/init.lua
+++ b/init.lua
@@ -77,8 +77,8 @@ local function run_shell_cmd(cmd, params, inp)
local tmp_file = assert(io.open(tmp_name, "r"))
out = tmp_file:read("*a")
tmp_file:close()
- print("out = " .. out)
- -- os.remove(tmp_name)
+ -- print("out = " .. out)
+ os.remove(tmp_name)
if not exit_code then
print("calling " .. full_cmd .. " failed (" .. out .. ")")