aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2012-09-19 23:29:25 +0200
committerKim Alvefur <zash@zash.se>2012-09-19 23:29:25 +0200
commit7aca7b6303f614cb9e9330bf9e2d34c63a5b818a (patch)
tree7a540e82b8511473503d4b54b6a338e12c70a396
parentfb9f19c208c2ab220ab6aeeb033b2d560dccb900 (diff)
downloadprosody-7aca7b6303f614cb9e9330bf9e2d34c63a5b818a.tar.gz
prosody-7aca7b6303f614cb9e9330bf9e2d34c63a5b818a.zip
prosodyctl: Fix copypaste error
-rwxr-xr-xprosodyctl2
1 files changed, 1 insertions, 1 deletions
diff --git a/prosodyctl b/prosodyctl
index 519b3efd..4d3c4790 100755
--- a/prosodyctl
+++ b/prosodyctl
@@ -725,7 +725,7 @@ function cert_commands.generate(arg)
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);