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
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 1 additions and 1 deletions

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))