diff options
Diffstat (limited to 'guix')
-rw-r--r-- | guix/ui.scm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/guix/ui.scm b/guix/ui.scm index c232b32674..dcad55e72e 100644 --- a/guix/ui.scm +++ b/guix/ui.scm @@ -194,9 +194,9 @@ General help using GNU software: <http://www.gnu.org/gethelp/>")) ;; Catch EPIPE and the likes. (catch 'system-error thunk - (lambda args - (leave (_ "~a~%") - (strerror (system-error-errno args))))))) + (lambda (key proc format-string format-args . rest) + (leave (_ "~a: ~a~%") proc + (apply format #f format-string format-args)))))) (define (read/eval str) "Read and evaluate STR, raising an error if something goes wrong." |