prosodyctl
changeset 5141 9ca67015ba0e
parent 5140 5b600514f654
child 5143 a86efd60425f
--- a/prosodyctl	Wed Sep 19 23:26:38 2012 +0200
+++ b/prosodyctl	Wed Sep 19 23:29:25 2012 +0200
@@ -724,7 +724,7 @@
 	if #arg >= 1 and arg[1] ~= "--help" then
 		local cert_filename = (CFG_DATADIR or ".") .. "/" .. arg[1] .. ".cert";
 		if ask_overwrite(cert_filename) then
-			return nil, conf_filename;
+			return nil, cert_filename;
 		end
 		local _, key_filename = cert_commands.key({arg[1]});
 		local _, conf_filename = cert_commands.config(arg);