Ludovic Courtès de9d8f0e29
ssh: Improve error reporting when 'send-files' fails.
Fixes <http://bugs.gnu.org/26972>.

* guix/ssh.scm (store-import-channel)[import]: Add 'consume-input'
procedure.  Wrap body in 'catch' and 'guard'.  Use 'open-remote-pipe'
with OPEN_BOTH instead of 'open-remote-output-pipe'.
(send-files): After the 'channel-send-eof' call, do (read port).
Interpret the result sexp and raise an error condition if needed.
2017-06-04 23:00:32 +02:00
..
2017-01-28 18:55:20 +01:00
2017-05-03 23:50:15 +02:00
2017-03-18 00:38:41 +01:00
2015-01-26 21:58:12 +01:00
2017-05-03 16:16:17 +02:00
2017-05-11 16:17:49 +02:00
2017-05-03 16:16:17 +02:00
2017-06-03 17:35:49 +02:00
2017-05-03 16:16:17 +02:00
2017-04-17 23:31:28 +02:00
2015-01-11 23:50:01 +01:00
2017-05-03 16:16:17 +02:00
2017-05-28 23:13:39 +02:00