From 03a014b030268bcf27ea8ad56fc6bd856984859b Mon Sep 17 00:00:00 2001 From: Daniel Hokka Zakrisson Date: Thu, 23 Oct 2008 21:37:26 +0000 Subject: [PATCH] No need to read the name again. git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2795 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- scripts/vserver.functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/vserver.functions b/scripts/vserver.functions index 3878446..0997c2e 100644 --- a/scripts/vserver.functions +++ b/scripts/vserver.functions @@ -1461,7 +1461,7 @@ function _handleCgroup if test -r "$dir"/name; then read name < "$dir"/name else - read name < "$vdir"/name + name="$VSERVER_NAME" fi if test "$action" = "attach"; then -- 1.8.1.5