systemd / casync

Content-Addressable Data Synchronization Tool
1.5k stars 117 forks source link

Do not divide by zero when displaying percentages #186

Closed keszybz closed 5 years ago

keszybz commented 5 years ago

The total number can be zero even if we did some operation, and then we'd divide by zero, crashing immediately with FPE.