about summary refs log tree commit diff
path: root/src/libstore
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-12-04T19·10+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-12-04T19·10+0000
commit7751160e9f560e7063d3e6e6e0e57b1432037b4c (patch)
tree620daa32f288c4fc9a4c0aaa76df70415be0c33f /src/libstore
parent40c3529909a929e03ebd943d87dd00e3fce93c9e (diff)
* Don't redirect stderr.
Diffstat (limited to 'src/libstore')
-rw-r--r--src/libstore/remote-store.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/libstore/remote-store.cc b/src/libstore/remote-store.cc
index 483794bc816d..da63765cdcf7 100644
--- a/src/libstore/remote-store.cc
+++ b/src/libstore/remote-store.cc
@@ -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(),