Remove the cache so disk limit caches have no chance of being reused if the same...
authorDaniel Hokka Zakrisson <daniel@hozac.com>
Sun, 5 Aug 2007 18:36:56 +0000 (18:36 +0000)
committerDaniel Hokka Zakrisson <daniel@hozac.com>
Sun, 5 Aug 2007 18:36:56 +0000 (18:36 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2577 94cd875c-1c1d-0410-91d2-eb244daf1a30

scripts/vserver.delete

index 3151ef8..09467ca 100644 (file)
@@ -31,4 +31,5 @@ isVserverRunning "$VSERVER_DIR" &&
 
 base.init
 pkgmgmt.initVariables
-rm -rf "`$_VSERVER_INFO "$vserver" VDIR 1`" "$VSERVER_DIR" "$PKGCFGDIR"
+$_RM -rf "`$_VSERVER_INFO "$vserver" VDIR 1`" "$VSERVER_DIR" "$PKGCFGDIR" \
+       "`$_READLINK "$VSERVER_DIR/cache"`"