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]);