ssh: Pass an empty "exceptfds" set to 'select'.
authorLudovic Courtès <ludo@gnu.org>
Wed, 10 Jan 2018 22:06:08 +0000 (23:06 +0100)
committerLudovic Courtès <ludo@gnu.org>
Wed, 10 Jan 2018 23:00:03 +0000 (00:00 +0100)
commit55f40fdbcdd98d1d1c0110d508079c068bf7f81d
treef9e3ed69bc48a6c25ea436f2e1da11ae0673d707
parent158eadefc8c6a9f7e7a447a01c58bbcf14074451
ssh: Pass an empty "exceptfds" set to 'select'.

Previously the redirect code could end up exiting prematurely because of
an uninteresting "exceptional condition" on the socket (info "(libc)
Waiting for I/O").

* guix/ssh.scm (remote-daemon-channel): Pass the empty list as the third
argument to 'select'.  It was a mistake to pass a non-empty list there
in the first place.
guix/ssh.scm