Software / code / prosody
Changeset
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 | 10531:810abf34919a |
| children | 10533:a6cc5b844d7b |
| files | util/startup.lua |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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