From 0420839d6098836420fa506833d4958d5c48451a Mon Sep 17 00:00:00 2001 From: Daniel Hokka Zakrisson Date: Fri, 22 Aug 2008 21:41:22 +0000 Subject: [PATCH] This is a requirement for vc_getVserverCtx, so it should be a requirement in the scripts. git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2764 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- scripts/functions | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/functions b/scripts/functions index 2273cc4..224e440 100644 --- a/scripts/functions +++ b/scripts/functions @@ -601,6 +601,8 @@ function getVserverStatus read _gvs_ctx <"$1"/run eval "$2"=\$_gvs_ctx + test "$1" = "$($_VUNAME -g --xid "$_gvs_ctx" context)" || return 1 + test -n "$3" || return 0 local _gvs_tmp _getProcNumberCount "$_gvs_ctx" _gvs_tmp -- 1.8.1.5