From c5ddc3ca781cda630c482c2b9f7e8c7646bff78c Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Sat, 30 Aug 2008 10:50:15 -0400 Subject: [PATCH] sde-download: Fixed mirror-test output to turn to KB since 1024 bytes instead of an arbitrary 4096 --- lib/sde-download/mirror-test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sde-download/mirror-test.sh b/lib/sde-download/mirror-test.sh index b7388c3..d462756 100644 --- a/lib/sde-download/mirror-test.sh +++ b/lib/sde-download/mirror-test.sh @@ -54,7 +54,7 @@ while read name country admin url ; do if [ "${speed:-0}" = "0" ]; then echo ' failed' 1>&2 else - if [ $speed -lt 4096 ]; then + if [ $speed -lt 1024 ]; then speedf="$speed B/s" elif [ $speed -lt 1048576 ]; then speedf="$(div_dot2f $speed 1024) KB/s"