From c410d8801ac1f8e01cd5a3498e02398ebebb0748 Mon Sep 17 00:00:00 2001 From: Evan Forbes <42654277+evan-forbes@users.noreply.github.com> Date: Tue, 29 Oct 2024 12:05:20 -0500 Subject: [PATCH] fix: make check-bbr (#4004) ## Overview very minor fix that fixes the `check-bbr` command --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index e095b08bb5..370601ba92 100644 --- a/Makefile +++ b/Makefile @@ -251,10 +251,10 @@ prebuilt-binary: ## check-bbr: Check if your system uses BBR congestion control algorithm. Only works on Linux. check-bbr: @echo "Checking if BBR is enabled..." - @if [ "$(sysctl net.ipv4.tcp_congestion_control | awk '{print $3}')" != "bbr" ]; then \ - echo "WARNING: BBR is not enabled. Please enable BBR for optimal performance. Call make enable-bbr or see Usage section in the README."; \ + @if [ "$$(sysctl net.ipv4.tcp_congestion_control | awk '{print $$3}')" != "bbr" ]; then \ + echo "WARNING: BBR is not enabled. Please enable BBR for optimal performance. Call make enable-bbr or see Usage section in the README."; \ else \ - echo "BBR is enabled."; \ + echo "BBR is enabled."; \ fi .PHONY: check-bbr