Fix problem where psh -f would go more than requested

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15943 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2013-04-10 21:01:47 +00:00
parent 4ca934115b
commit aa204c02fb

View File

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