diff options
author | Kim Alvefur <zash@zash.se> | 2020-06-02 09:07:29 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2020-06-02 09:07:29 +0200 |
commit | 0fea1b599ea6d1c1f14d3566797ec148313d4ddb (patch) | |
tree | 6c768de64e23df66256ee310dd45ec3d0ceb4956 | |
parent | 01f780eef118521830a7e377f69f9b70acfc3896 (diff) | |
download | prosody-0fea1b599ea6d1c1f14d3566797ec148313d4ddb.tar.gz prosody-0fea1b599ea6d1c1f14d3566797ec148313d4ddb.zip |
util.prosodyctl.shell: Correct check for --socket
-rw-r--r-- | util/prosodyctl/shell.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/prosodyctl/shell.lua b/util/prosodyctl/shell.lua index 1d07e6ec..1d312d3f 100644 --- a/util/prosodyctl/shell.lua +++ b/util/prosodyctl/shell.lua @@ -114,7 +114,7 @@ local function start(arg) --luacheck: ignore 212/arg end end); - local socket_path = path.resolve_relative_path(prosody.paths.data, arg.socket or config.get("*", "admin_socket") or "prosody.sock"); + local socket_path = path.resolve_relative_path(prosody.paths.data, prosody.opts.socket or config.get("*", "admin_socket") or "prosody.sock"); local conn = connection(socket_path, client.listeners); local ok, err = conn:connect(); if not ok then |