From 62f68959c74b193bc6ab497262608f08240ed652 Mon Sep 17 00:00:00 2001 From: Justin Date: Wed, 28 Jan 2026 15:48:34 +0000 Subject: [PATCH] Remove inline comment in misc/tools.func Co-authored-by: Michel Roegl-Brunner <73236783+michelroegl-brunner@users.noreply.github.com> --- misc/tools.func | 2 -- 1 file changed, 2 deletions(-) diff --git a/misc/tools.func b/misc/tools.func index 18602dc85..1096b4a01 100644 --- a/misc/tools.func +++ b/misc/tools.func @@ -1694,8 +1694,6 @@ function download_with_progress() { local content_length content_length=$( curl -fsSLI "$url" 2>/dev/null | - # May return multiple values on redirect. i.e., 0 and actual content-length value - # Add 0 to $2 to cast it to int awk '(tolower($1) ~ /^content-length:/) && ($2 + 0 > 0) {print $2+0}' | tail -1 | tr -cd '[:digit:]' || true )