aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/ssh.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2021-04-07 13:10:02 +0200
committerEelco Dolstra <edolstra@gmail.com>2021-04-07 13:10:02 +0200
commit9b9e703df41d75949272059f9b8bc8b763e91fce (patch)
tree8ddcd01325ee08d8029e0a86f467390de23c7b39 /src/libstore/ssh.cc
parent8a29052cb2f52ef2c82c36fb3818fd0f66349729 (diff)
restoreSignals() + restoreAffinity() -> restoreProcessContext()
Diffstat (limited to 'src/libstore/ssh.cc')
-rw-r--r--src/libstore/ssh.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/ssh.cc b/src/libstore/ssh.cc
index 235eed37a..93f72675d 100644
--- a/src/libstore/ssh.cc
+++ b/src/libstore/ssh.cc
@@ -50,7 +50,7 @@ std::unique_ptr<SSHMaster::Connection> SSHMaster::startCommand(const std::string
options.dieWithParent = false;
conn->sshPid = startProcess([&]() {
- restoreSignals();
+ restoreProcessContext();
close(in.writeSide.get());
close(out.readSide.get());
@@ -110,7 +110,7 @@ Path SSHMaster::startMaster()
options.dieWithParent = false;
state->sshMaster = startProcess([&]() {
- restoreSignals();
+ restoreProcessContext();
close(out.readSide.get());