summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--urpm/download.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/download.pm b/urpm/download.pm
index 54ceb4db..97f0448f 100644
--- a/urpm/download.pm
+++ b/urpm/download.pm
@@ -500,7 +500,7 @@ sub sync_curl {
}
#- this checks that download has actually started
if ($_ eq "\n"
- && !($speed == 0 && $percent == 100 && index($eta, '--') >= 0) #- work around bug 13685
+ && !($speed eq 0 && $percent == 100 && index($eta, '--') >= 0) #- work around bug 13685
) {
propagate_sync_callback($options, 'end', $file);
$file = undef;