summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--guix/scripts/discover.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/scripts/discover.scm b/guix/scripts/discover.scm
index 8970f835c9..32bf6085a5 100644
--- a/guix/scripts/discover.scm
+++ b/guix/scripts/discover.scm
@@ -50,7 +50,7 @@ Discover Guix related services using Avahi.\n"))
(alist-cons 'cache arg result)))
(option '(#\h "help") #f #f
(lambda _
- (show-help)
+ (leave-on-EPIPE (show-help))
(exit 0)))
(option '(#\V "version") #f #f
(lambda _