From: Daniel Hokka Zakrisson Date: Thu, 18 Jan 2007 04:38:30 +0000 (+0000) Subject: Remove the disk limits after saving them. X-Git-Tag: release-0.30.214~149 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?p=util-vserver.git;a=commitdiff_plain;h=ca2b0cc0a04e2ba7d5f2fa836167e711bfb7af25 Remove the disk limits after saving them. git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2456 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/scripts/vserver.functions b/scripts/vserver.functions index 3139ac6..ba07f33 100644 --- 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" }