projects
/
util-vserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
This is a requirement for vc_getVserverCtx, so it should be a requirement in the...
[util-vserver.git]
/
scripts
/
functions
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