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
This commit is contained in:
wuzhy 2010-02-23 07:16:18 +00:00
parent 8373b78f8d
commit 36c61839a3

View File

@ -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 ) {