callInNamespace(): do not accept non-running vservers
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Thu, 15 Apr 2004 01:59:11 +0000 (01:59 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Thu, 15 Apr 2004 01:59:11 +0000 (01:59 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1464 94cd875c-1c1d-0410-91d2-eb244daf1a30

util-vserver/scripts/functions

index f8636f3..c119e80 100644 (file)
@@ -451,7 +451,7 @@ function callInNamespace
     local ctx=
     
     isAvoidNamespace "$1" || \
-    ctx=$( $_VSERVER_INFO "$1" CONTEXT t ) || ctx=
+    ctx=$( $_VSERVER_INFO "$1" CONTEXT f ) || ctx=
 
     shift
     if test "$ctx"; then