Skip to content

Avoid division by zero with --just-copy

Petr Vokac requested to merge vokac/gfal2-util:fix_justcopy_divzero into develop

With --just-copy CLI option for gfal-copy the size of source file is unknown and by default set to zero. This causes troubles in monitoring code that attempts to calculate progress percentage by dividing transferred data with this zero total size.

Merge request reports

Loading