summary refs log tree commit diff
path: root/gnu/home
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-04-20 23:47:54 +0200
committerLudovic Courtès <ludo@gnu.org>2022-04-21 00:00:14 +0200
commitbc867b2ab055a1dfadc70e6d25dfef751441087f (patch)
tree5fc44acd112c6222b6bc33cce1601dba76ee4582 /gnu/home
parentcd5c31d192453c071d5384ea1eabbf02c9708758 (diff)
downloadguix-bc867b2ab055a1dfadc70e6d25dfef751441087f.tar.gz
home: shepherd: "shepherd.conf" returns one value.
Fixes <https://issues.guix.gnu.org/54779>.
Reported by Aleksandr Vityazev <avityazev@posteo.org>
and Nicolas Graves <ngraves@ngraves.fr>.

* gnu/home/services/shepherd.scm (home-shepherd-configuration-file):
Return one value.
Diffstat (limited to 'gnu/home')
-rw-r--r--gnu/home/services/shepherd.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/home/services/shepherd.scm b/gnu/home/services/shepherd.scm
index df6bbb30e6..a105c26c47 100644
--- a/gnu/home/services/shepherd.scm
+++ b/gnu/home/services/shepherd.scm
@@ -84,7 +84,10 @@ as shepherd package."
                                         services))))
             (if (defined? 'start-in-the-background)
                 (start-in-the-background services-to-start)
-                (for-each start services-to-start)))))
+                (for-each start services-to-start))
+
+            ;; Return one value.
+            #t)))
 
     (scheme-file "shepherd.conf" config)))