aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/prosodyctl/cert.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/prosodyctl/cert.lua b/util/prosodyctl/cert.lua
index 4461182d..4779fdc4 100644
--- a/util/prosodyctl/cert.lua
+++ b/util/prosodyctl/cert.lua
@@ -223,7 +223,7 @@ function cert_commands.import(arg)
local imported = {};
for _, host in ipairs(hostnames) do
local paths = cm.find_cert_in_index(files_by_name, host);
- if paths and not imported[paths.certificate] then
+ if paths and imported[paths.certificate] then
-- One certificate, many mames!
table.insert(imported, host);
elseif paths then