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

View file

@ -175,7 +175,7 @@ (define (assert-satisfied-requirements service)
(&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))