aboutsummaryrefslogtreecommitdiffstats
path: root/prosodyctl
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
commitc586bcd596d47bf6cca6439d3eb96ba8d6a681f4 (patch)
tree3737ec442eed0f06031ed4f429e978c085bbbfb5 /prosodyctl
parent4a423e63859ba5be2ff19dd5d5d17dd75ad19f59 (diff)
downloadprosody-c586bcd596d47bf6cca6439d3eb96ba8d6a681f4.tar.gz
prosody-c586bcd596d47bf6cca6439d3eb96ba8d6a681f4.zip
prosodyctl: Fix copypaste error
Diffstat (limited to 'prosodyctl')
-rwxr-xr-xprosodyctl2
1 files changed, 1 insertions, 1 deletions
diff --git a/prosodyctl b/prosodyctl
index 93eac3f2..e26339e2 100755
--- a/prosodyctl
+++ b/prosodyctl
@@ -724,7 +724,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);