[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[shepherd] 01/05: service: 'start-in-the-background' prints failed servi
From: |
Ludovic Courtès |
Subject: |
[shepherd] 01/05: service: 'start-in-the-background' prints failed service names. |
Date: |
Wed, 22 Mar 2023 18:40:08 -0400 (EDT) |
civodul pushed a commit to branch master
in repository shepherd.
commit d8412d86dc196e72eb87895cdf1df148ecc54954
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Mon Mar 20 22:44:46 2023 +0100
service: 'start-in-the-background' prints failed service names.
So far it would print the service objects themselves.
* modules/shepherd/service.scm (start-in-the-background): Map
'canonical-name' over FAILURES.
---
modules/shepherd/service.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/shepherd/service.scm b/modules/shepherd/service.scm
index 966b797..4e85e52 100644
--- a/modules/shepherd/service.scm
+++ b/modules/shepherd/service.scm
@@ -1142,7 +1142,7 @@ background:~{ ~a~}."
"The following services could not be started in the \
background:~{ ~a~}."
(length failures))
- failures)))))
+ (map canonical-name failures))))))
;; 'spawn-fiber' returns zero values, which can confuse callees; return one.
*unspecified*)