hydra-queue-runner: Maintain count of active build steps
This commit is contained in:
@ -39,6 +39,8 @@ static void openConnection(const string & sshName, const string & sshKey,
|
||||
if (dup2(stderrFD, STDERR_FILENO) == -1)
|
||||
throw SysError("cannot dup stderr");
|
||||
|
||||
// FIXME: ensure no password prompt.
|
||||
// FIXME: connection timeouts
|
||||
Strings argv({"ssh", sshName, "-i", sshKey, "-x", "-a", "--", "nix-store", "--serve", "--write"});
|
||||
|
||||
execvp("ssh", (char * *) stringsToCharPtrs(argv).data()); // FIXME: remove cast
|
||||
|
Reference in New Issue
Block a user