diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-06-04 22:53:40 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-06-04 23:00:32 +0200 |
commit | de9d8f0e295928d92e0e5ea43a4e594fa78c76fb (patch) | |
tree | 1be7a033d83eaad8db727974c83991977a1eaf77 /gnu/packages/video.scm | |
parent | fb976ada5be4634048bcbdde880729ee12f610e9 (diff) | |
download | patches-de9d8f0e295928d92e0e5ea43a4e594fa78c76fb.tar patches-de9d8f0e295928d92e0e5ea43a4e594fa78c76fb.tar.gz |
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.
Diffstat (limited to 'gnu/packages/video.scm')
0 files changed, 0 insertions, 0 deletions