diff options
author | Kim Alvefur <zash@zash.se> | 2017-06-13 20:14:06 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-06-13 20:14:06 +0200 |
commit | 90f15e025ef70d8e062af4947dfad999541d0495 (patch) | |
tree | 98d1b668d63a65c58e169d1f7d3912050ef66de1 /plugins/mod_posix.lua | |
parent | c4def1909c1050c1852b92c90910fbe0abadcaba (diff) | |
parent | f8aad6ad60886d13f595e159fc6ad4bf2f136d5b (diff) | |
download | prosody-90f15e025ef70d8e062af4947dfad999541d0495.tar.gz prosody-90f15e025ef70d8e062af4947dfad999541d0495.zip |
Merge 0.10->trunk
Diffstat (limited to 'plugins/mod_posix.lua')
-rw-r--r-- | plugins/mod_posix.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/mod_posix.lua b/plugins/mod_posix.lua index 3fc57afc..49addafe 100644 --- a/plugins/mod_posix.lua +++ b/plugins/mod_posix.lua @@ -11,7 +11,8 @@ local want_pposix_version = "0.4.0"; local pposix = assert(require "util.pposix"); if pposix._VERSION ~= want_pposix_version then - module:log("warn", "Unknown version (%s) of binary pposix module, expected %s. Perhaps you need to recompile?", tostring(pposix._VERSION), want_pposix_version); + module:log("warn", "Unknown version (%s) of binary pposix module, expected %s." + .. "Perhaps you need to recompile?", tostring(pposix._VERSION), want_pposix_version); end local have_signal, signal = pcall(require, "util.signal"); @@ -112,7 +113,7 @@ local function write_pidfile() end local syslog_opened; -function syslog_sink_maker(config) +function syslog_sink_maker(config) -- luacheck: ignore 212/config if not syslog_opened then pposix.syslog_open("prosody", module:get_option_string("syslog_facility")); syslog_opened = true; |