Don't nuke /var/run.
David E. Eisenstat [Thu, 21 Jun 2007 15:29:17 +0000 (15:29 +0000)]
python/vserver.py

index aeb05d6..cf0b84e 100644 (file)
@@ -335,8 +335,9 @@ class VServer:
                          ([], filter_fn))[0]
         garbage += filter(os.path.isfile, map((LOCKDIR + "/").__add__,
                                               os.listdir(LOCKDIR)))
-        for f in garbage:
-            os.unlink(f)
+        if False:
+            for f in garbage:
+                os.unlink(f)
 
         # set the initial runlevel
         f = open(RUNDIR + "/utmp", "w")