diff options
author | Ludovic Courtès <ludo@gnu.org> | 2022-04-21 00:02:21 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-04-21 00:02:21 +0200 |
commit | dd2ab92d9d2b09d8b7fae42d565c74377b04889a (patch) | |
tree | 75efebe6990e13774ffae45acf16fead5b29f1df /gnu/home | |
parent | bc867b2ab055a1dfadc70e6d25dfef751441087f (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.scm | 4 |
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))) |