From: Enrico Scholz Date: Wed, 10 Mar 2004 04:55:25 +0000 (+0000) Subject: callInNamespace(): call 'shift' to remove the vserver-name from $@ X-Git-Tag: VERSION_0_10~372 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54adb8bb5608e15ab944db970a1b287be28d7487;p=util-vserver.git callInNamespace(): call 'shift' to remove the vserver-name from $@ git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1202 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/util-vserver/scripts/functions b/util-vserver/scripts/functions index 6c33047..a2ad7f3 100644 --- a/util-vserver/scripts/functions +++ b/util-vserver/scripts/functions @@ -368,6 +368,7 @@ function callInNamespace isAvoidNamespace "$1" || \ ctx=$( $_VSERVER_INFO "$1" CONTEXT t ) || ctx= + shift if test "$ctx"; then $_VNAMESPACE --enter "$ctx" -- "$@" else