ssh: Fix progress bar crash when there are zero items to send.
authorLudovic Courtès <ludo@gnu.org>
Wed, 2 Sep 2020 21:58:34 +0000 (23:58 +0200)
committerLudovic Courtès <ludo@gnu.org>
Wed, 2 Sep 2020 21:59:24 +0000 (23:59 +0200)
commit44c6e6f590b706f1ecfea6a7e7406bbd7cb70736
tree8a2b8f8195d99a3baf0777bad1ebeced5138fb76
parentde83660dd386b73957fe4ad2dc08ce5b8e1f0e7f
ssh: Fix progress bar crash when there are zero items to send.

* guix/ssh.scm (notify-transfer-progress): Do nothing when TOTAL is
zero.
guix/ssh.scm