diff --git a/perl-xCAT/xCAT/PPCdb.pm b/perl-xCAT/xCAT/PPCdb.pm index f64e18a42..2247f5b93 100644 --- a/perl-xCAT/xCAT/PPCdb.pm +++ b/perl-xCAT/xCAT/PPCdb.pm @@ -156,9 +156,9 @@ sub add_ppc { ########################### updategroups( $name, $db{nodelist}, $type ); if ( $type =~ /^(fsp|bpa)$/ ) { - $db{nodelist}->setNodeAttribs( $name, {hidden => '0'}); - } else { $db{nodelist}->setNodeAttribs( $name, {hidden => '1'}); + } else { + $db{nodelist}->setNodeAttribs( $name, {hidden => '0'}); } $db{nodelist}{commit} = 1;