prosodyctl
changeset 8121 f8c52010bd37
parent 8120 66d8f6b3c3ef
child 8122 94a1fdaf12d1
--- a/prosodyctl	Sat Apr 22 19:11:26 2017 +0200
+++ b/prosodyctl	Sat Apr 22 19:12:04 2017 +0200
@@ -896,6 +896,9 @@
 	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