diff --git a/src/hydra-queue-runner/build-remote.cc b/src/hydra-queue-runner/build-remote.cc index f1c86e1d..3dec28ee 100644 --- a/src/hydra-queue-runner/build-remote.cc +++ b/src/hydra-queue-runner/build-remote.cc @@ -35,6 +35,8 @@ static void openConnection(Machine::ptr machine, Path tmpDir, int stderrFD, Chil child.pid = startProcess([&]() { + restoreSignals(); + if (dup2(to.readSide.get(), STDIN_FILENO) == -1) throw SysError("cannot dup input pipe to stdin");