Skip to content

Commit

Permalink
fix: make check-bbr (#4004)
Browse files Browse the repository at this point in the history
## Overview

very minor fix that fixes the `check-bbr` command

(cherry picked from commit c410d88)
  • Loading branch information
evan-forbes authored and rach-id committed Nov 25, 2024
1 parent a3e97d5 commit 5abc512
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 5abc512

Please sign in to comment.