summaryrefslogtreecommitdiff
path: root/gnu/home
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-04-21 00:02:21 +0200
committerLudovic Courtès <ludo@gnu.org>2022-04-21 00:02:21 +0200
commitdd2ab92d9d2b09d8b7fae42d565c74377b04889a (patch)
tree75efebe6990e13774ffae45acf16fead5b29f1df /gnu/home
parentbc867b2ab055a1dfadc70e6d25dfef751441087f (diff)
home: shepherd: Redirect input port to /dev/null.
Suggested by Aleksandr Vityazev <avityazev@posteo.org>. * gnu/home/services/shepherd.scm (home-shepherd-configuration-file): Redirect input port to /dev/null.
Diffstat (limited to 'gnu/home')
-rw-r--r--gnu/home/services/shepherd.scm4
1 files 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 @@ as shepherd package."
(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)))