defect 3538251 - rollupdate boundary error fix: did not run llmkres if node count less than updateall_nodecount

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13172 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
mellor 2012-06-26 22:03:07 +00:00
parent 35869b7a81
commit b10f2968d4

View File

@ -1121,7 +1121,8 @@ my @rcblines;
} else {
my $submit_count = 1;
if ($::updateall){
$submit_count = $machinecount / $::updateall_nodecount;
$submit_count = int($machinecount / $::updateall_nodecount);
if ($submit_count == 0) {$submit_count = 1;}
}
for (1..$submit_count) {
@llsubmit = xCAT::Utils->runcmd( "$cmd", 0 );