guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[shepherd] 02/02: service: 'start-in-the-background' returns a value.


From: Ludovic Courtès
Subject: [shepherd] 02/02: service: 'start-in-the-background' returns a value.
Date: Sat, 30 Apr 2022 10:36:58 -0400 (EDT)

civodul pushed a commit to branch master
in repository shepherd.

commit 26693e6e8c93b088b876280a559d9c81e9bdc721
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Fri Apr 29 22:40:26 2022 +0200

    service: 'start-in-the-background' returns a value.
    
    * modules/shepherd/service.scm (start-in-the-background): Return a
    value.
---
 modules/shepherd/service.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/modules/shepherd/service.scm b/modules/shepherd/service.scm
index 013347b..6974d77 100644
--- a/modules/shepherd/service.scm
+++ b/modules/shepherd/service.scm
@@ -734,7 +734,10 @@ interact right away with shepherd using the @command{herd} 
command."
                              (l10n "Failed to start ~a in the background.")
                              service)))
                    (start service)))
-               services))))
+               services)))
+
+  ;; 'spawn-fiber' returns zero values, which can confuse callees; return one.
+  *unspecified*)
 
 
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]