From 71db90cc11abce8566dc0574a3a40c2f5e7883fc Mon Sep 17 00:00:00 2001 From: mvoelkel Date: Fri, 11 Sep 2015 17:46:26 +0200 Subject: [PATCH] fixed typo --- octoserve/var/www/updateserver.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/octoserve/var/www/updateserver.lua b/octoserve/var/www/updateserver.lua index 5226e03..5e39811 100644 --- a/octoserve/var/www/updateserver.lua +++ b/octoserve/var/www/updateserver.lua @@ -24,8 +24,8 @@ if query == "set=beta" then delimages = true end elseif query == "set=std" then - local tmp = io.open("/config/updateserver","r") - if tmp then + local file = io.open("/config/updateserver","r") + if file then file:close() os.remove("/config/updateserver") delimages = true