From 701983e0fbcc6448ac4bacb901b7d094e61c3700 Mon Sep 17 00:00:00 2001 From: Xuan Sang LE Date: Mon, 4 Oct 2021 22:33:16 +0200 Subject: [PATCH] Update common.lua --- os/libs/common.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/os/libs/common.lua b/os/libs/common.lua index 23a27ec..bb3f031 100644 --- a/os/libs/common.lua +++ b/os/libs/common.lua @@ -52,6 +52,7 @@ function is_auth() local f = io.open(TUNNEL_KEYCHAIN, "w") if f then f:write(sessionid) + f:close() end return true end @@ -60,4 +61,4 @@ function auth_or_die(msg) if(is_auth() == false) then die(msg) end -end \ No newline at end of file +end