From dd2ab92d9d2b09d8b7fae42d565c74377b04889a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Thu, 21 Apr 2022 00:02:21 +0200 Subject: [PATCH] home: shepherd: Redirect input port to /dev/null. Suggested by Aleksandr Vityazev . * gnu/home/services/shepherd.scm (home-shepherd-configuration-file): Redirect input port to /dev/null. --- gnu/home/services/shepherd.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/home/services/shepherd.scm b/gnu/home/services/shepherd.scm index a105c26c47..62ab0aadc6 100644 --- a/gnu/home/services/shepherd.scm +++ b/gnu/home/services/shepherd.scm @@ -86,8 +86,8 @@ (define config (start-in-the-background services-to-start) (for-each start services-to-start)) - ;; Return one value. - #t))) + (redirect-port (open-input-file "/dev/null") + (current-input-port))))) (scheme-file "shepherd.conf" config)))