projects
/
util-vserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
cbae7fc
)
This is a requirement for vc_getVserverCtx, so it should be a requirement in the...
author
Daniel Hokka Zakrisson
<daniel@hozac.com>
Fri, 22 Aug 2008 21:41:22 +0000 (21:41 +0000)
committer
Daniel Hokka Zakrisson
<daniel@hozac.com>
Fri, 22 Aug 2008 21:41:22 +0000 (21:41 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2764
94cd875c
-1c1d-0410-91d2-
eb244daf1a30
scripts/functions
patch
|
blob
|
history
diff --git
a/scripts/functions
b/scripts/functions
index
2273cc4
..
224e440
100644
(file)
--- 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