From bd90e43d4096a4c0b23f19abde285f5ab3bb7122 Mon Sep 17 00:00:00 2001 From: Pete Date: Tue, 17 Jan 2017 13:51:30 -0500 Subject: [PATCH] Avoid hard loop when file unavailable When the download is not available, this script gets stuck in a hard loop retrying, filling up both logfiles and bandwidth to a proxy. This patch neuters the retry attempt by just continuing on. --- .scripts/ip2c.tcl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.scripts/ip2c.tcl b/.scripts/ip2c.tcl index 9a450cc..498961f 100755 --- a/.scripts/ip2c.tcl +++ b/.scripts/ip2c.tcl @@ -403,8 +403,7 @@ if {$fail == "no"} { set x [expr $x - 1] } } else { - puts "Checksum not found. Retrying..\n" - set x [expr $x - 1] + puts "Checksum not found. Skipping..\n" } }