fixed behavior with multiple args (from Debian patch)
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Fri, 28 Nov 2003 23:26:54 +0000 (23:26 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Fri, 28 Nov 2003 23:26:54 +0000 (23:26 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/branches/SYSCALL_SWITCH@458 94cd875c-1c1d-0410-91d2-eb244daf1a30

util-vserver/scripts/vps.subst

index 195ede0..ea32a37 100755 (executable)
@@ -48,7 +48,7 @@ if ($context != 1) {
 } 
 
 
-if (! open PS, "ps $ARGV[0]|") {
+if (! open PS, "ps @ARGV|") {
    print "Can not execute ps\n";
    exit;
 }