From 75159bbfea5c3742f7b96014e69da9ca6c97b67e Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Wed, 10 Apr 2013 21:01:09 +0000 Subject: [PATCH] Fix problem where psh -f would go more than requested git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15942 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-client/bin/psh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-client/bin/psh b/xCAT-client/bin/psh index f32b9bc60..23ed4a08f 100755 --- a/xCAT-client/bin/psh +++ b/xCAT-client/bin/psh @@ -104,7 +104,7 @@ if ($interface) { } foreach (@nodes) { my $node=$_; - while ($children > $pshmaxp) { processoutput($inputs); } + while ($children >= $pshmaxp) { processoutput($inputs); } my $child; $children++; sshnode(\$child,$node,$username,@ARGV[1 .. $#ARGV]);