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 93eac3f2e0b84e2e53ebfc3f2a0b6d1d93fd5fd7..e26339e28ef1db0a1827230373ead4c939bf3fd0 100755 (executable)
@@ -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);