substitute: Update progress for responses different from 200/404.

* guix/scripts/substitute.scm (fetch-narinfos)[handle-narinfo-response]:
Add missing call to 'update-progress!'.
This commit is contained in:
Ludovic Courtès 2016-03-17 15:35:55 +01:00
parent f1723b8be6
commit fc3ea24bf4

View file

@ -607,10 +607,11 @@ (define (handle-narinfo-response request response port result)
#f ttl)
(update-progress!)
result))
(else ; transient failure
(else ; transient failure: 504...
(if len
(get-bytevector-n port len)
(read-to-eof port))
(update-progress!)
result))))
(define (do-fetch uri port)