aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--conf.d/controller/lua.d/aft.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/conf.d/controller/lua.d/aft.lua b/conf.d/controller/lua.d/aft.lua
index 428dd2f..b619b23 100644
--- a/conf.d/controller/lua.d/aft.lua
+++ b/conf.d/controller/lua.d/aft.lua
@@ -46,6 +46,7 @@ end
function _AFT.setOutputFile(filePath)
local file = assert(io.open(filePath, "w+"))
io.output(file)
+ io.stdout = file
end
function _AFT.exitAtEnd(code)