Remove the disk limits after saving them.
[util-vserver.git] / scripts / vserver.functions
index 3139ac6..ba07f33 100644 (file)
@@ -1168,6 +1168,8 @@ function _saveSingleDiskLimit
 
     $_VDLIMIT --xid $ctx "$directory" | \
        $_GREP '_used=' > "$vdir/cache/dlimits/$cachename"
+
+    $_VDLIMIT --xid $ctx --remove "$directory"
 }