mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 08:16:15 +02:00
* Don't redirect stderr.
This commit is contained in:
parent
40c3529909
commit
7751160e9f
1 changed files with 0 additions and 6 deletions
|
@ -88,12 +88,6 @@ void RemoteStore::forkSlave()
|
|||
close(fdSocket);
|
||||
close(fdChild);
|
||||
|
||||
int fdDebug = open("/tmp/worker-log", O_WRONLY | O_CREAT | O_TRUNC, 0644);
|
||||
assert(fdDebug != -1);
|
||||
if (dup2(fdDebug, STDERR_FILENO) == -1)
|
||||
throw SysError("dupping stderr");
|
||||
close(fdDebug);
|
||||
|
||||
execlp(worker.c_str(), worker.c_str(), "--slave",
|
||||
/* hacky - must be at the end */
|
||||
verbosityArg == "-" ? NULL : verbosityArg.c_str(),
|
||||
|
|
Loading…
Reference in a new issue