Remove the runfile, if it exists.
authorDaniel Hokka Zakrisson <daniel@hozac.com>
Fri, 22 Aug 2008 21:39:27 +0000 (21:39 +0000)
committerDaniel Hokka Zakrisson <daniel@hozac.com>
Fri, 22 Aug 2008 21:39:27 +0000 (21:39 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2763 94cd875c-1c1d-0410-91d2-eb244daf1a30

scripts/vserver.delete

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