aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-12-23 21:02:19 +0100
committerKim Alvefur <zash@zash.se>2019-12-23 21:02:19 +0100
commitbbb1aae80fb294dbfcc0986ae049f91edcd5357d (patch)
treee7e7ce236a3b18ccd9d5e1792f0b5d1a786581d7 /util
parent0bbfb60aaead427610dc593d646c906387af3468 (diff)
downloadprosody-bbb1aae80fb294dbfcc0986ae049f91edcd5357d.tar.gz
prosody-bbb1aae80fb294dbfcc0986ae049f91edcd5357d.zip
util.startup: Ignore unused errno variable [luacheck]
Diffstat (limited to 'util')
-rw-r--r--util/startup.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/startup.lua b/util/startup.lua
index 8e6d89e6..dd757dd1 100644
--- a/util/startup.lua
+++ b/util/startup.lua
@@ -448,7 +448,7 @@ function startup.switch_user()
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