From ae6a3974eb0a5232b7b269486b835ad18b6dcedd Mon Sep 17 00:00:00 2001 From: Enrico Scholz Date: Fri, 1 Oct 2004 12:08:39 +0000 Subject: [PATCH] _getProcNumberCount(): s!$_ctx!$1! git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1720 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- util-vserver/scripts/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util-vserver/scripts/functions b/util-vserver/scripts/functions index 66c3bd3..391961b 100644 --- a/util-vserver/scripts/functions +++ b/util-vserver/scripts/functions @@ -402,7 +402,7 @@ function _getProcNumberCount set -- $($_GREP '^PROC:' "/proc/virtual/$1/limit" 2>/dev/null) procnr_cnt=$2 else - procnr_cnt=$($_VPS ax | $_AWK '{print $2}' | $_GREP -x "$_ctx" | $_WC -l ) + procnr_cnt=$($_VPS ax | $_AWK '{print $2}' | $_GREP -x "$1" | $_WC -l ) fi let procnr_cnt=procnr_cnt+0 -- 1.8.1.5