1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

services: shepherd: Clarify error message about missing service.

Suggested by Tobias Geerinckx-Rice <me@tobias.gr>.

* gnu/services/shepherd.scm (assert-valid-graph)[assert-satisfied-requirements]:
Clarify error message.
This commit is contained in:
Ludovic Courtès
2016-07-18 15:22:37 +02:00
parent a2d469afaf
commit 2c2ec261a8

View File

@@ -175,7 +175,7 @@ assertion failure."
(&message
(message
(format #f (_ "service '~a' requires '~a', \
which is undefined")
which is not provided by any service")
(match (shepherd-service-provision service)
((head . _) head)
(_ service))