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:
dd77ca7
)
Fixed typo
author
Marc Fiuczynski
<mef@cs.princeton.edu>
Thu, 10 May 2007 22:45:08 +0000
(22:45 +0000)
committer
Marc Fiuczynski
<mef@cs.princeton.edu>
Thu, 10 May 2007 22:45:08 +0000
(22:45 +0000)
python/vserver.py
patch
|
blob
|
history
diff --git
a/python/vserver.py
b/python/vserver.py
index
6de72cb
..
f580354
100644
(file)
--- a/
python/vserver.py
+++ b/
python/vserver.py
@@
-131,7
+131,7
@@
class VServer:
old_hard, old_soft, old_minimum = self.__get_vserver_limit(resource_type)
if old_hard != VC_LIM_KEEP and old_hard <> hard: changed = True
if old_soft != VC_LIM_KEEP and old_soft <> soft: changed = True
old_hard, old_soft, old_minimum = self.__get_vserver_limit(resource_type)
if old_hard != VC_LIM_KEEP and old_hard <> hard: changed = True
if old_soft != VC_LIM_KEEP and old_soft <> soft: changed = True
- if old_minimu != VC_LIM_KEEP and old_minimum <> minimum: changed = True
+ if old_minimu
m
!= VC_LIM_KEEP and old_minimum <> minimum: changed = True
self.limits_changed = self.limits_changed or changed
ret = vserverimpl.setrlimit(self.ctx,resource_type,hard,soft,minimum)
self.limits_changed = self.limits_changed or changed
ret = vserverimpl.setrlimit(self.ctx,resource_type,hard,soft,minimum)