Software /
code /
prosody
Changeset
10873:813e632431e6
util.prosodyctl.shell: Correct check for --socket
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 02 Jun 2020 09:07:29 +0200 |
parents | 10872:a3f3f42736f2 |
children | 10874:98c535531450 |
files | util/prosodyctl/shell.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/util/prosodyctl/shell.lua Tue Jun 02 08:02:03 2020 +0100 +++ b/util/prosodyctl/shell.lua Tue Jun 02 09:07:29 2020 +0200 @@ -114,7 +114,7 @@ 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