From: Daniel Hokka Zakrisson Date: Sun, 5 Aug 2007 18:36:56 +0000 (+0000) Subject: Remove the cache so disk limit caches have no chance of being reused if the same... X-Git-Tag: release-0.30.214~28 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=183a694eeaacf1c3268c4e487731c4a7438132e0;p=util-vserver.git Remove the cache so disk limit caches have no chance of being reused if the same guest is recreated at a later point in time. git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2577 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/scripts/vserver.delete b/scripts/vserver.delete index 3151ef8..09467ca 100644 --- a/scripts/vserver.delete +++ b/scripts/vserver.delete @@ -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"`"