From: Kim Alvefur Date: Wed, 19 Sep 2012 21:29:25 +0000 (+0200) Subject: prosodyctl: Fix copypaste error X-Git-Url: https://git.enpas.org/?a=commitdiff_plain;h=6925cdc57b9ad537a619f98c10234f3af4497408;p=prosody.git prosodyctl: Fix copypaste error --- 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);