Ludovic Courtès 1d6b7d5847 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'.
2016-02-05 14:01:46 +01:00
..
2015-10-06 23:51:04 +02:00
2015-11-26 22:35:01 +01:00
2015-12-09 14:29:41 +01:00
2015-09-21 10:48:26 +02:00
2015-01-26 21:58:12 +01:00
2016-02-04 18:31:17 -05:00
2015-09-04 18:31:06 +02:00
2015-01-11 23:50:01 +01:00