git://git.onelab.eu
/
util-vserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8a6d23
)
Don't nuke /var/run.
author
David E. Eisenstat
<deisenst@cs.princeton.edu>
Thu, 21 Jun 2007 15:29:17 +0000
(15:29 +0000)
committer
David E. Eisenstat
<deisenst@cs.princeton.edu>
Thu, 21 Jun 2007 15:29:17 +0000
(15:29 +0000)
python/vserver.py
patch
|
blob
|
history
diff --git
a/python/vserver.py
b/python/vserver.py
index
aeb05d6
..
cf0b84e
100644
(file)
--- a/
python/vserver.py
+++ b/
python/vserver.py
@@
-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")