From d13d0835c40b1dde500402016967b76cdf6afff3 Mon Sep 17 00:00:00 2001 From: daniceexi Date: Wed, 30 Jul 2014 04:16:25 -0400 Subject: [PATCH] defect 4226: fix the issue that rvital cannot handle cec which has no parent att was set --- xCAT-server/lib/perl/xCAT/PPC.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/perl/xCAT/PPC.pm b/xCAT-server/lib/perl/xCAT/PPC.pm index 0f4f35334..efa642e16 100755 --- a/xCAT-server/lib/perl/xCAT/PPC.pm +++ b/xCAT-server/lib/perl/xCAT/PPC.pm @@ -1237,7 +1237,7 @@ sub resolve { ############################# # Find MTMS in vpd database ############################# - if ( exists( $att->{parent} )) { + if ( $att->{parent}) { my @attrs = qw(mtm serial); my ($vpd) = $tabs->{vpd}->getNodeAttribs($att->{parent},\@attrs);