diff options
author | Kim Alvefur <zash@zash.se> | 2019-12-23 21:02:19 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2019-12-23 21:02:19 +0100 |
commit | bbb1aae80fb294dbfcc0986ae049f91edcd5357d (patch) | |
tree | e7e7ce236a3b18ccd9d5e1792f0b5d1a786581d7 | |
parent | 0bbfb60aaead427610dc593d646c906387af3468 (diff) | |
download | prosody-bbb1aae80fb294dbfcc0986ae049f91edcd5357d.tar.gz prosody-bbb1aae80fb294dbfcc0986ae049f91edcd5357d.zip |
util.startup: Ignore unused errno variable [luacheck]
-rw-r--r-- | util/startup.lua | 2 |
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 |