Mercurial > prosody-hg
diff util/startup.lua @ 10532:19ec384eb782
util.startup: Ignore unused errno variable [luacheck]
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Mon, 23 Dec 2019 21:02:19 +0100 |
| parents | e7f5735f19e1 |
| children | 4f655918fef1 |
line wrap: on
line diff
--- a/util/startup.lua Mon Dec 23 21:01:55 2019 +0100 +++ b/util/startup.lua Mon Dec 23 21:02:19 2019 +0100 @@ -448,7 +448,7 @@ print("Warning: Couldn't switch to Prosody user/group '"..tostring(desired_user).."'/'"..tostring(desired_group).."': "..tostring(err)); else -- Make sure the Prosody user can read the config - local conf, err, errno = io.open(prosody.config_file); + local conf, err, errno = io.open(prosody.config_file); --luacheck: ignore 211/errno if conf then conf:close(); else
