diff options
-rwxr-xr-x | guix/scripts/substitute.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/scripts/substitute.scm b/guix/scripts/substitute.scm index 7ec170b08a..ddb885d344 100755 --- a/guix/scripts/substitute.scm +++ b/guix/scripts/substitute.scm @@ -656,7 +656,7 @@ print a warning and return #f." (get-bytevector-n port len) (read-to-eof port)) (cache-narinfo! url (hash-part->path hash-part) #f - (if (= 404 code) + (if (or (= 404 code) (= 202 code)) ttl %narinfo-transient-error-ttl)) result)))) |