aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_posix.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2013-04-08 17:21:16 +0100
committerMatthew Wild <mwild1@gmail.com>2013-04-08 17:21:16 +0100
commit7e9a5cc5a36ae7d653836615143b5a78a505bfed (patch)
treeb63f60f6dff8c647f5952a2a92bb0a1da8d2a94f /plugins/mod_posix.lua
parent4031be743b96e3def712842f985b510651c8fcbe (diff)
downloadprosody-7e9a5cc5a36ae7d653836615143b5a78a505bfed.tar.gz
prosody-7e9a5cc5a36ae7d653836615143b5a78a505bfed.zip
mod_posix: Improve error message for a pposix version mismatch
Diffstat (limited to 'plugins/mod_posix.lua')
-rw-r--r--plugins/mod_posix.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/mod_posix.lua b/plugins/mod_posix.lua
index f1957d1d..28fd7f38 100644
--- a/plugins/mod_posix.lua
+++ b/plugins/mod_posix.lua
@@ -10,7 +10,9 @@
local want_pposix_version = "0.3.6";
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", tostring(pposix._VERSION), want_pposix_version); end
+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);
+end
local signal = select(2, pcall(require, "util.signal"));
if type(signal) == "string" then