scripts: challenge: Handle EPIPE errors when displaying help.
* guix/scripts/challenge.scm (%options): Handle EPIPE errors when displaying help.
parent
de63efc802
commit
2ac8e95dba
|
@ -467,7 +467,7 @@ Challenge the substitutes for PACKAGE... provided by one or more servers.\n"))
|
|||
(define %options
|
||||
(list (option '(#\h "help") #f #f
|
||||
(lambda args
|
||||
(show-help)
|
||||
(leave-on-EPIPE (show-help))
|
||||
(exit 0)))
|
||||
(option '(#\V "version") #f #f
|
||||
(lambda args
|
||||
|
|
Reference in New Issue