cache need not exist.
authorDaniel Hokka Zakrisson <daniel@hozac.com>
Tue, 8 Jan 2008 16:49:17 +0000 (16:49 +0000)
committerDaniel Hokka Zakrisson <daniel@hozac.com>
Tue, 8 Jan 2008 16:49:17 +0000 (16:49 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2654 94cd875c-1c1d-0410-91d2-eb244daf1a30

scripts/vserver.delete

index 09467ca..d77f46d 100644 (file)
@@ -32,4 +32,4 @@ isVserverRunning "$VSERVER_DIR" &&
 base.init
 pkgmgmt.initVariables
 $_RM -rf "`$_VSERVER_INFO "$vserver" VDIR 1`" "$VSERVER_DIR" "$PKGCFGDIR" \
-       "`$_READLINK "$VSERVER_DIR/cache"`"
+       "`$_READLINK "$VSERVER_DIR/cache" 2>/dev/null`"