prosodyctl: Fix copypaste error
authorKim Alvefur <zash@zash.se>
Wed, 19 Sep 2012 21:29:25 +0000 (23:29 +0200)
committerKim Alvefur <zash@zash.se>
Wed, 19 Sep 2012 21:29:25 +0000 (23:29 +0200)
prosodyctl

index 519b3efd8e62bb65eeb9c472a346e3c6a4e96e3f..4d3c47908e864f60ed7bba4e0456d5cf994f48fb 100755 (executable)
@@ -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);