summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-03-17 15:35:55 +0100
committerLudovic Courtès <ludo@gnu.org>2016-03-17 23:53:53 +0100
commitfc3ea24bf44d2d47dfb2ba8b1ac4d3a971f5e4c4 (patch)
tree24c1e2152742702c08d1f1e05e112c381c89d733
parentf1723b8be67de45a43f403ca3f051449bf11f3b1 (diff)
downloadguix-fc3ea24bf44d2d47dfb2ba8b1ac4d3a971f5e4c4.tar.gz
substitute: Update progress for responses different from 200/404.
* guix/scripts/substitute.scm (fetch-narinfos)[handle-narinfo-response]:
Add missing call to 'update-progress!'.
-rwxr-xr-xguix/scripts/substitute.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/guix/scripts/substitute.scm b/guix/scripts/substitute.scm
index 1ab18d0260..efbcfe78ca 100755
--- a/guix/scripts/substitute.scm
+++ b/guix/scripts/substitute.scm
@@ -607,10 +607,11 @@ if file doesn't exist, and the narinfo otherwise."
                            #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)