From 54adb8bb5608e15ab944db970a1b287be28d7487 Mon Sep 17 00:00:00 2001 From: Enrico Scholz Date: Wed, 10 Mar 2004 04:55:25 +0000 Subject: [PATCH] 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 --- util-vserver/scripts/functions | 1 + 1 file changed, 1 insertion(+) 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 -- 1.8.1.5