summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--guix/scripts/refresh.scm8
1 files changed, 2 insertions, 6 deletions
diff --git a/guix/scripts/refresh.scm b/guix/scripts/refresh.scm
index bbfdf240d0..99fdc2ca65 100644
--- a/guix/scripts/refresh.scm
+++ b/guix/scripts/refresh.scm
@@ -153,12 +153,8 @@ specified with `--select'.\n"))
 KEY-DOWNLOAD specifies a download policy for missing OpenPGP keys; allowed
 values: 'interactive' (default), 'always', and 'never'."
   (let-values (((version tarball)
-                (catch #t
-                  (lambda ()
-                    (package-update store package updaters
-                                    #:key-download key-download))
-                  (lambda _
-                    (values #f #f))))
+                (package-update store package updaters
+                                #:key-download key-download))
                ((loc)
                 (or (package-field-location package 'version)
                     (package-location package))))