diff options
author | Ludovic Courtès <ludo@gnu.org> | 2016-02-05 11:39:27 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-02-05 14:01:46 +0100 |
commit | 1d6b7d584736ff0ad9e852a39c7c151e10713580 (patch) | |
tree | b80702c38f8d07b9232fb0e3ee916fdfcf4f0a7b /hydra.gnu.org.pub | |
parent | 6b55ee88890c114f9829029c7d0c0c3f03bcda03 (diff) | |
download | guix-patches-1d6b7d584736ff0ad9e852a39c7c151e10713580.tar guix-patches-1d6b7d584736ff0ad9e852a39c7c151e10713580.tar.gz |
guix system: Simply warn if we cannot talk to the shepherd.
Before that 'open-connection' would return #f, and thus
'current-services' would return a single #f value when its continuation
expects two.
Reported by calher on #guix.
* gnu/services/herd.scm (open-connection): Rethrow system-error
exceptions.
(with-shepherd): Expect CONNECTION to always be true; remove useless
'dynamic-wind'.
* guix/scripts/system.scm (warn-on-system-error): New macro.
(upgrade-shepherd-services): Wrap body in 'warn-on-system-error'.
Diffstat (limited to 'hydra.gnu.org.pub')
0 files changed, 0 insertions, 0 deletions