setup-spoke.sh: redirect find_free_port warn output to stderr to prevent contamination of TUNNEL_PORT variable

This commit is contained in:
Justin Oros
2026-04-19 13:46:07 -07:00
parent f3c9cf2344
commit 0fd7d94d58

View File

@@ -308,7 +308,7 @@ find_free_port() {
echo "$port"
return 0
fi
warn "Port $port is in use, trying next..."
echo -e "${YELLOW}[!]${NC} Port $port is in use, trying next..." >&2
done
return 1
}