fixed behavior with multiple args (from Debian patch)
[util-vserver.git] / 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;
 }