From 7cf36ae5d383ceed96af3033e41803954694dd11 Mon Sep 17 00:00:00 2001 From: mrhotio <26902309+mrhotio@users.noreply.github.com> Date: Fri, 23 Feb 2024 13:08:00 +0100 Subject: [PATCH] add port to log --- root/app/forwarded_port_update_app | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/app/forwarded_port_update_app b/root/app/forwarded_port_update_app index 488a5f07e..7785fffba 100644 --- a/root/app/forwarded_port_update_app +++ b/root/app/forwarded_port_update_app @@ -10,7 +10,7 @@ if grep -q 'WebUI\\LocalHostAuth=false' "${CONFIG_DIR}/config/qBittorrent.conf"; if ! curl -fsSL --retry-all-errors --retry-delay 10 --retry 5 --retry-max-time 120 --insecure -X POST -d "json={\"web_ui_upnp\":false,\"upnp\":false,\"random_port\":false,\"listen_port\":${port}}" "${webui_https}://localhost:${WEBUI_PORTS%%/*}/api/v2/app/setPreferences"; then echo "[ERR] [$(date '+%Y-%m-%d %H:%M:%S')] [QBITTORRENT] Unable to set forwarded port, something is wrong!" else - echo "[INF] [$(date '+%Y-%m-%d %H:%M:%S')] [QBITTORRENT] Updated forwarded port." + echo "[INF] [$(date '+%Y-%m-%d %H:%M:%S')] [QBITTORRENT] Updated forwarded port to [${port}]." fi else echo "[WRN] [$(date '+%Y-%m-%d %H:%M:%S')] [QBITTORRENT] Unable to set forwarded port, \"LocalHostAuth\" is enabled!"