diff options
author | Maxime Devos <maximedevos@telenet.be> | 2021-06-29 00:06:34 +0200 |
---|---|---|
committer | Mathieu Othacehe <othacehe@gnu.org> | 2021-06-29 20:11:56 +0200 |
commit | 5ef96ecaaeeabd5500e406f0103ca52ec079fdb9 (patch) | |
tree | 66c81c89f388e744fc7d3cb4a6e45186ced62d37 /gnu/installer | |
parent | fda0959a1426198f5588be691d1414807cb547cd (diff) | |
download | guix-5ef96ecaaeeabd5500e406f0103ca52ec079fdb9.tar guix-5ef96ecaaeeabd5500e406f0103ca52ec079fdb9.tar.gz |
weather: Handle zero requested store items gracefully.
This can happen if the weather information of a package
is requested for an unsupported system. For example,
try "guix weather icecat --system=aarch64-linux".
* guix/scripts/weather.scm
(report-server-coverage): Do not divide by zero when zero
store items are requested from a server.
Fixes: <https://issues.guix.gnu.org/49263>
Reported-By: Jack Hill <jackhill@jackhill.us>
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
Diffstat (limited to 'gnu/installer')
0 files changed, 0 insertions, 0 deletions