aboutsummaryrefslogtreecommitdiff
path: root/guix/scripts/refresh.scm
diff options
context:
space:
mode:
Diffstat (limited to 'guix/scripts/refresh.scm')
-rw-r--r--guix/scripts/refresh.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/guix/scripts/refresh.scm b/guix/scripts/refresh.scm
index c65a7d0cfb..af7beb748b 100644
--- a/guix/scripts/refresh.scm
+++ b/guix/scripts/refresh.scm
@@ -201,8 +201,8 @@ update would trigger a complete rebuild."
(filter-map (match-lambda
(('argument . value)
(let ((p (find-packages-by-name value)))
- (unless p
- (leave (_ "~a: no package by that name")
+ (when (null? p)
+ (leave (_ "~a: no package by that name~%")
value))
p))
(_ #f))