Changeset

5152:fee5f8d4ec74

prosodyctl: Fix copypaste error
author Kim Alvefur <zash@zash.se>
date Wed, 19 Sep 2012 23:29:25 +0200
parents 5151:dfe6a70efaa2
children 5153:688aeac0012a
files prosodyctl
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/prosodyctl	Wed Sep 19 23:26:38 2012 +0200
+++ b/prosodyctl	Wed Sep 19 23:29:25 2012 +0200
@@ -725,7 +725,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);