aboutsummaryrefslogtreecommitdiffstats
path: root/prosodyctl
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2016-07-28 09:39:50 +0100
committerMatthew Wild <mwild1@gmail.com>2016-07-28 09:39:50 +0100
commit49d78800587641b15e66962f2740d501c1169a08 (patch)
treec1767a4b6577725fbe5586acab5a2453c18b373a /prosodyctl
parent52717fc086cb6453c0a5341c0cdc2d0cdba18b83 (diff)
parent81e867eb41ec5131cd0725a17f2b4faa8dfe33b2 (diff)
downloadprosody-49d78800587641b15e66962f2740d501c1169a08.tar.gz
prosody-49d78800587641b15e66962f2740d501c1169a08.zip
Merge 0.10 -> trunk
Diffstat (limited to 'prosodyctl')
-rwxr-xr-xprosodyctl3
1 files changed, 0 insertions, 3 deletions
diff --git a/prosodyctl b/prosodyctl
index 74681e7c..2115bc65 100755
--- a/prosodyctl
+++ b/prosodyctl
@@ -268,7 +268,6 @@ end
local show_message, show_warning = prosodyctl.show_message, prosodyctl.show_warning;
local show_usage = prosodyctl.show_usage;
-local getchar, getpass = prosodyctl.getchar, prosodyctl.getpass;
local show_yesno = prosodyctl.show_yesno;
local show_prompt = prosodyctl.show_prompt;
local read_password = prosodyctl.read_password;
@@ -547,7 +546,6 @@ function commands.about(arg)
print("Source directory: "..relpath(pwd, CFG_SOURCEDIR or "."));
print("Plugin directories:")
print(" "..(prosody.paths.plugins:gsub("([^;]+);?", function(path)
- local opath = path;
path = config.resolve_relative_path(pwd, path);
local hgid, hgrepo = hg.check_id(path);
if not hgid and hgrepo then
@@ -804,7 +802,6 @@ function cert_commands.generate(arg)
end
local _, key_filename = cert_commands.key({arg[1]});
local _, conf_filename = cert_commands.config(arg);
- local ret;
if key_filename and conf_filename and cert_filename
and openssl.req{new=true, x509=true, nodes=true, key=key_filename,
days=365, sha256=true, utf8=true, config=conf_filename, out=cert_filename} then