From aa204c02fb6b6b6806746873464748e88f7e80f0 Mon Sep 17 00:00:00 2001
From: jbjohnso <jbjohnso@8638fb3e-16cb-4fca-ae20-7b5d299a9bcd>
Date: Wed, 10 Apr 2013 21:01:47 +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/branches/2.8@15943 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]);