about summary refs log tree commit diff
path: root/src/nix-worker/nix-worker.cc
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2008-06-14T16·03+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2008-06-14T16·03+0000
commitf351834f77441e14238b3348cfe211fa6f6f4e3a (patch)
treea6cf4a7ab446029c2bb8bedb8e93a717f30fe8d6 /src/nix-worker/nix-worker.cc
parent94fd46fa1c4655a609b3a67bef447c9547eb5080 (diff)
* nix-worker: clean up the temporary root for the worker processes
  in /nix/var/nix/temproots.

Diffstat (limited to 'src/nix-worker/nix-worker.cc')
-rw-r--r--src/nix-worker/nix-worker.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nix-worker/nix-worker.cc b/src/nix-worker/nix-worker.cc
index 134e1a6933..0d0964f3a6 100644
--- a/src/nix-worker/nix-worker.cc
+++ b/src/nix-worker/nix-worker.cc
@@ -439,6 +439,8 @@ static void performOp(unsigned int clientVersion,
 
 static void processConnection()
 {
+    RemoveTempRoots removeTempRoots; /* unused variable - don't remove */
+
     canSendStderr = false;
     myPid = getpid();    
     writeToStderr = tunnelStderr;