diff options
author | Ludovic Courtès <ludo@gnu.org> | 2021-06-01 22:35:28 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2021-06-01 23:26:07 +0200 |
commit | 2885c3568edec35086f8feeae5b60259cbea407c (patch) | |
tree | 6b64044e8977eb10c9a48f1ec4ab3f566244acd5 /gnu/services.scm | |
parent | 0db906c52ca329adfbafd6677a7045232e5fdd48 (diff) | |
download | guix-2885c3568edec35086f8feeae5b60259cbea407c.tar.gz guix-2885c3568edec35086f8feeae5b60259cbea407c.zip |
machine: ssh: Gracefully handle failure of the effectful bits.
Previously, '&inferior-exception' raised by 'upgrade-shepherd-services'
and co. would go through as-is, leaving users with an ugly backtrace.
* gnu/machine/ssh.scm (deploy-managed-host): Define
'eval/error-handling' and use it in lieu of EVAL as arguments to
'switch-to-system', 'upgrade-shepherd-services', and
'install-bootloader'.
Diffstat (limited to 'gnu/services.scm')
0 files changed, 0 insertions, 0 deletions