Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't call bar.SetRefill with negative numbers
If srcInfo.Size == -1, the progress bar is not showing the refill value anyway (customPartialBlobDecorFunc is only used if size is known), so don't bother calling this function with nonsense data, if anything, at least to emphasize that this condition is, in principle, possible. Should not affect behavior, hopefully. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
- Loading branch information