From: Enrico Scholz Date: Fri, 28 Nov 2003 23:26:54 +0000 (+0000) Subject: fixed behavior with multiple args (from Debian patch) X-Git-Tag: version_0_26_90~18 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91552d8af05cd98a747de8d3704abebbd6e1673c;p=util-vserver.git fixed behavior with multiple args (from Debian patch) git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/branches/SYSCALL_SWITCH@458 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/util-vserver/scripts/vps.subst b/util-vserver/scripts/vps.subst index 195ede0..ea32a37 100755 --- a/util-vserver/scripts/vps.subst +++ b/util-vserver/scripts/vps.subst @@ -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; }