util/prosodyctl.lua
changeset 8886 3f975bbfec3b
parent 8671 31c5abd49dfe
child 9785 161411a41377
child 10724 6e46fefe956c
--- a/util/prosodyctl.lua	Thu Jun 07 11:24:29 2018 +0100
+++ b/util/prosodyctl.lua	Wed Jun 06 22:27:40 2018 +0200
@@ -190,8 +190,8 @@
 
 	pidfile = config.resolve_relative_path(prosody.paths.data, pidfile);
 
-	local modules_enabled = set.new(config.get("*", "modules_disabled"));
-	if prosody.platform ~= "posix" or modules_enabled:contains("posix") then
+	local modules_disabled = set.new(config.get("*", "modules_disabled"));
+	if prosody.platform ~= "posix" or modules_disabled:contains("posix") then
 		return false, "no-posix";
 	end