aboutsummaryrefslogtreecommitdiff
path: root/src/nix/edit.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/nix/edit.cc
parent8a29052cb2f52ef2c82c36fb3818fd0f66349729 (diff)
restoreSignals() + restoreAffinity() -> restoreProcessContext()
Diffstat (limited to 'src/nix/edit.cc')
-rw-r--r--src/nix/edit.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nix/edit.cc b/src/nix/edit.cc
index 6472dd27a..b26417b18 100644
--- a/src/nix/edit.cc
+++ b/src/nix/edit.cc
@@ -42,7 +42,8 @@ struct CmdEdit : InstallableCommand
auto args = editorFor(pos);
- restoreSignals();
+ restoreProcessContext();
+
execvp(args.front().c_str(), stringsToCharPtrs(args).data());
std::string command;