From ecb3f7c924bdfdefe73d6b05b7d7a003fd38e8da Mon Sep 17 00:00:00 2001 From: wuzhy Date: Thu, 11 Mar 2010 01:14:50 +0000 Subject: [PATCH] Fix bug 2915235 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5436 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/PPCmac.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/perl-xCAT/xCAT/PPCmac.pm b/perl-xCAT/xCAT/PPCmac.pm index 85efc09fb..5d9159728 100644 --- a/perl-xCAT/xCAT/PPCmac.pm +++ b/perl-xCAT/xCAT/PPCmac.pm @@ -537,8 +537,8 @@ sub getmacs { } foreach my $val ( @$prof ) { - my ($lpar_id,$curr_profile) = split /,/, $val; - if ( !length($curr_profile) || ($curr_profile =~ /^none$/) ) { + my ($lpar_id,$curr_profile,$default_profile) = split /,/, $val; + if ( ((!length($default_profile)) and (!length($curr_profile))) || (($curr_profile =~ /^none$/) and ($curr_profile =~ /^none$/)) ) { push @emptynode,$node; } }