commit 7ca14cca5e443e3b05312376beba2576abede285
parent 30e04fab094163613aa0492106175ef0fe9c5ad4
Author: tms <nemi@skaut.cz>
Date: Fri, 11 Jun 2021 15:12:46 +0200
Add name to userdata
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/trun.lua b/trun.lua
@@ -10,7 +10,7 @@ local name = arg[2] or 'trun'
local handlerPath = os.getenv('CONFIG') .. '/trun/?.lua'
package.path = package.path .. ';' .. handlerPath
local handler = require(handlerName)
-local userdata = {}
+local userdata = {name = name}
-- status dir
local status_dir = os.getenv('TRUN_CACHE') or os.getenv('HOME') .. '/.cache/trun'