X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=prosodyctl;h=4d3c47908e864f60ed7bba4e0456d5cf994f48fb;hb=142cd12eac0f4b470a497f922fc65b3ead202e5a;hp=519b3efd8e62bb65eeb9c472a346e3c6a4e96e3f;hpb=f12713c5556ae5ca1795ae2e481d936ad3c7f87a;p=prosody.git 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);