From ca2b0cc0a04e2ba7d5f2fa836167e711bfb7af25 Mon Sep 17 00:00:00 2001 From: Daniel Hokka Zakrisson Date: Thu, 18 Jan 2007 04:38:30 +0000 Subject: [PATCH] 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 --- scripts/vserver.functions | 2 ++ 1 file changed, 2 insertions(+) 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" } -- 1.8.1.5