diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> | 2006-09-19 16:16:09 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> | 2006-09-19 16:16:09 +0000 |
commit | 14a321460572c9158b78e2abac1e4ecfd939378c (patch) | |
tree | e0caf987cd3f5d813a6bffb7e0ef6ff85ebf0b07 | |
parent | c6d3875606c62c4b061d3c9f26c7024a80cd494f (diff) | |
download | urpmi-14a321460572c9158b78e2abac1e4ecfd939378c.tar urpmi-14a321460572c9158b78e2abac1e4ecfd939378c.tar.gz urpmi-14a321460572c9158b78e2abac1e4ecfd939378c.tar.bz2 urpmi-14a321460572c9158b78e2abac1e4ecfd939378c.tar.xz urpmi-14a321460572c9158b78e2abac1e4ecfd939378c.zip |
Remove unused check
-rw-r--r-- | urpm.pm | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2933,8 +2933,8 @@ sub install_logger { } } elsif ($subtype eq 'stop') { if ($urpm->{logger_progress} < $progress_size) { - print '#' x ($progress_size - $urpm->{logger_progress}); - print "\n" if $progress_size != $urpm->{logger_progress}; + print '#' x ($progress_size - $urpm->{logger_progress}), "\n"; + $urpm->{logger_progress} = 0; } } elsif ($subtype eq 'progress') { my $new_progress = $total > 0 ? int($progress_size * $amount / $total) : $progress_size; |