projects
/
util-vserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
9335a7d
)
Remove the disk limits after saving them.
author
Daniel Hokka Zakrisson
<daniel@hozac.com>
Thu, 18 Jan 2007 04:38:30 +0000 (
04:38
+0000)
committer
Daniel Hokka Zakrisson
<daniel@hozac.com>
Thu, 18 Jan 2007 04:38:30 +0000 (
04:38
+0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2456
94cd875c
-1c1d-0410-91d2-
eb244daf1a30
scripts/vserver.functions
patch
|
blob
|
history
diff --git
a/scripts/vserver.functions
b/scripts/vserver.functions
index
3139ac6
..
ba07f33
100644
(file)
--- a/
scripts/vserver.functions
+++ b/
scripts/vserver.functions
@@
-1168,6
+1168,8
@@
function _saveSingleDiskLimit
$_VDLIMIT --xid $ctx "$directory" | \
$_GREP '_used=' > "$vdir/cache/dlimits/$cachename"
+
+ $_VDLIMIT --xid $ctx --remove "$directory"
}