git://git.onelab.eu
/
util-vserver-pl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c2adaa
)
Fix typo.
author
Daniel Hokka Zakrisson
<dhokka@cs.princeton.edu>
Wed, 28 Oct 2009 01:33:54 +0000
(
01:33
+0000)
committer
Daniel Hokka Zakrisson
<dhokka@cs.princeton.edu>
Wed, 28 Oct 2009 01:33:54 +0000
(
01:33
+0000)
python/vserver.py
patch
|
blob
|
history
diff --git
a/python/vserver.py
b/python/vserver.py
index
c5464c5
..
f66721d
100644
(file)
--- a/
python/vserver.py
+++ b/
python/vserver.py
@@
-138,7
+138,7
@@
def adjust_lim(goal, curr):
if gm != VC_LIM_KEEP:
if gm > soft or gm == resource.RLIM_INFINITY:
soft = gm
- if gm > hard or g
s
== resource.RLIM_INFINITY:
+ if gm > hard or g
m
== resource.RLIM_INFINITY:
hard = gm
if gs != VC_LIM_KEEP:
if gs > soft or gs == resource.RLIM_INFINITY: