machine: ssh: Respect calling convention for monadic procedures.

Fixes a regression introduced in
2885c3568e.

Reported by Mathieu Othacehe.

* gnu/machine/ssh.scm (deploy-managed-host)[eval/error-handling]: Return
two values in the standard case.
This commit is contained in:
Ludovic Courtès 2021-06-03 12:33:08 +02:00
parent 0928e55266
commit fe509e017f
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5

View File

@ -459,7 +459,8 @@ have you run 'guix archive --generate-key?'")
(lambda (store) (lambda (store)
(guard (condition ((inferior-exception? condition) (guard (condition ((inferior-exception? condition)
(values (begin handler ...) store))) (values (begin handler ...) store)))
(run-with-store store (eval exp)))))) (values (run-with-store store (eval exp))
store)))))
(mbegin %store-monad (mbegin %store-monad
(with-roll-back #f (with-roll-back #f