summary refs log tree commit diff
path: root/gnu/installer
diff options
context:
space:
mode:
authorMaxime Devos <maximedevos@telenet.be>2021-06-29 00:06:34 +0200
committerMathieu Othacehe <othacehe@gnu.org>2021-06-29 20:11:56 +0200
commit5ef96ecaaeeabd5500e406f0103ca52ec079fdb9 (patch)
tree66c81c89f388e744fc7d3cb4a6e45186ced62d37 /gnu/installer
parentfda0959a1426198f5588be691d1414807cb547cd (diff)
downloadguix-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