build-remote.pl: Pass /dev/null as SSH's stdin
Otherwise it will set the parent's stdin to non-blocking mode, causing the subsequent read of the set of inputs/outputs to fail randomly. That's insane.
This commit is contained in:
parent
78206f06ec
commit
be0b9dda31
1 changed files with 1 additions and 1 deletions
|
@ -197,7 +197,7 @@ REQ: while (1) {
|
||||||
$hostName = $machine->{hostName};
|
$hostName = $machine->{hostName};
|
||||||
last REQ if
|
last REQ if
|
||||||
openSSHConnection($hostName) &&
|
openSSHConnection($hostName) &&
|
||||||
system("ssh $hostName @sshOpts nix-builds-inhibited >/dev/null 2>&1") != 0;
|
system("ssh $hostName @sshOpts nix-builds-inhibited < /dev/null > /dev/null 2>&1") != 0;
|
||||||
|
|
||||||
warn "unable to open SSH connection to $hostName, trying other available machines...\n";
|
warn "unable to open SSH connection to $hostName, trying other available machines...\n";
|
||||||
$machine->{enabled} = 0;
|
$machine->{enabled} = 0;
|
||||||
|
|
Loading…
Reference in a new issue