From 748815b6cee5b9864223b8bf96cbc73606caa2c2 Mon Sep 17 00:00:00 2001 From: Felipe Santos Date: Thu, 9 Feb 2023 00:28:20 -0300 Subject: [PATCH] Fix logging IP instead of WebRTC port (#5417) --- docker/rootfs/etc/s6-overlay/s6-rc.d/go2rtc/run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/rootfs/etc/s6-overlay/s6-rc.d/go2rtc/run b/docker/rootfs/etc/s6-overlay/s6-rc.d/go2rtc/run index 62fbe33ad..e84e645f2 100755 --- a/docker/rootfs/etc/s6-overlay/s6-rc.d/go2rtc/run +++ b/docker/rootfs/etc/s6-overlay/s6-rc.d/go2rtc/run @@ -35,7 +35,7 @@ function get_ip_and_port_from_supervisor() { jq --exit-status --raw-output '.data.network["8555/tcp"]' ) && [[ "${webrtc_port}" =~ ${port_regex} ]]; then webrtc_port="${BASH_REMATCH[1]}" - echo "[INFO] Got WebRTC port from supervisor: ${ip_address}" >&2 + echo "[INFO] Got WebRTC port from supervisor: ${webrtc_port}" >&2 else echo "[WARN] Failed to get WebRTC port from supervisor" >&2 return 0