From 36c61839a3175db1c49a5b94654784bcf225e84d Mon Sep 17 00:00:00 2001 From: wuzhy Date: Tue, 23 Feb 2010 07:16:18 +0000 Subject: [PATCH] In order to fix 2957063 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5259 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/perl/xCAT/PPC.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xCAT-server/lib/perl/xCAT/PPC.pm b/xCAT-server/lib/perl/xCAT/PPC.pm index 4cc73b0cd..8c276ac41 100644 --- a/xCAT-server/lib/perl/xCAT/PPC.pm +++ b/xCAT-server/lib/perl/xCAT/PPC.pm @@ -549,7 +549,9 @@ sub child_response { my @nodes; foreach ( @$responses ) { my $node = $_->{node}->[0]->{name}->[0]; - push (@nodes, $node); + if (! grep /^$node$/, @nodes) { + push (@nodes, $node); + } } foreach ( sort @nodes ) {