aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xprosodyctl3
1 files changed, 3 insertions, 0 deletions
diff --git a/prosodyctl b/prosodyctl
index e2f71223..4b29c406 100755
--- a/prosodyctl
+++ b/prosodyctl
@@ -896,6 +896,9 @@ function cert_commands.import(arg)
end
if imported[1] then
show_message("Imported certificate and key for hosts "..table.concat(imported, ", "));
+ else
+ show_warning("No certificates imported :(");
+ return 1;
end
end