summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
Diffstat (limited to 'script')
-rw-r--r--script/service/telemetry.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/service/telemetry.lua b/script/service/telemetry.lua
index 2434cf1a..d04662b9 100644
--- a/script/service/telemetry.lua
+++ b/script/service/telemetry.lua
@@ -9,7 +9,7 @@ local tokenPath = (ROOT / 'log' / 'token'):string()
local token = util.loadFile(tokenPath)
if not token then
token = ('%016X'):format(math.random(0, math.maxinteger))
- util.saveFile(token)
+ util.saveFile(tokenPath, token)
end
local function pushClient(link)