diff options
author | Christopher Baines <mail@cbaines.net> | 2017-08-05 22:16:47 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2017-08-08 20:48:53 +0100 |
commit | dc7b3e56337ee9d8dcd8fe7d5cab71ef536d024f (patch) | |
tree | 6ab1174614c3f820096a3d6e481905219563cba0 /tests/scripts.scm | |
parent | 65831c6425bf9e82c665f2fe4d0803a483f888a1 (diff) | |
download | guix-dc7b3e56337ee9d8dcd8fe7d5cab71ef536d024f.tar guix-dc7b3e56337ee9d8dcd8fe7d5cab71ef536d024f.tar.gz |
services: herd: Fix matching ok responses from shepherd service.
Previously the match expression case for a successful response
(where error is #f) required that the result component contained a list with a
single element.
As far as I see when looking at the responses from the shepherd, this is not
normally the case. Therefore, to avoid treating successful responses as
errors, make the match requirement more permissive, accepting any value.
* gnu/services/herd.scm (invoke-action): Change match condition for ok responses.
Diffstat (limited to 'tests/scripts.scm')
0 files changed, 0 insertions, 0 deletions