Fix bug 3521914: fsp plugin bug at PPCenergy.pm line 182 with renergy on p7ih

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12435 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
yinle 2012-05-02 02:34:07 +00:00
parent 4ad9216707
commit 055b0e382c

View File

@ -179,8 +179,8 @@ sub parse_args {
my $nodetyperef = xCAT::DBobjUtils->getnodetype($nodes, "ppc");
my $i = 0;
foreach my $node (@{$nodes}) {
if (@$nodetyperef[$i] ne 'fsp' &&
@$nodetyperef[$i] ne 'cec') {
if ($$nodetyperef{$node} ne 'fsp' &&
$$nodetyperef{$node} ne 'cec') {
push @notfspnodes, $node;
}
$i++;