diff options
author | Kim Alvefur <zash@zash.se> | 2014-04-10 00:24:29 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2014-04-10 00:24:29 +0200 |
commit | 5d027d7f71fb0410b9c1a4ad46d94aaebb87c645 (patch) | |
tree | e7923c70fb6349ab8e9578b2fe7e092692b572ba /util | |
parent | bd5c7793919f236c68a82b9a1045d0348e359c84 (diff) | |
download | prosody-5d027d7f71fb0410b9c1a4ad46d94aaebb87c645.tar.gz prosody-5d027d7f71fb0410b9c1a4ad46d94aaebb87c645.zip |
prosodyctl, util.prosodyctl: Update to reflect that mod_posix gets loaded by default on posix platforms
Diffstat (limited to 'util')
-rw-r--r-- | util/prosodyctl.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/prosodyctl.lua b/util/prosodyctl.lua index fe862114..d59c163c 100644 --- a/util/prosodyctl.lua +++ b/util/prosodyctl.lua @@ -189,8 +189,8 @@ function getpid() return false, "no-pidfile"; end - local modules_enabled = set.new(config.get("*", "modules_enabled")); - if not modules_enabled:contains("posix") then + local modules_enabled = set.new(config.get("*", "modules_disabled")); + if prosody.platform ~= "posix" or modules_enabled:contains("posix") then return false, "no-posix"; end |