From eaa2cbbe09666521b760fd3e5b3631ecc5359fc4 Mon Sep 17 00:00:00 2001 From: jjhua Date: Mon, 2 Aug 2010 08:04:26 +0000 Subject: [PATCH] output the error for each node git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6934 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/FSPmac.pm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/perl-xCAT/xCAT/FSPmac.pm b/perl-xCAT/xCAT/FSPmac.pm index c79471107..2611a8379 100644 --- a/perl-xCAT/xCAT/FSPmac.pm +++ b/perl-xCAT/xCAT/FSPmac.pm @@ -181,9 +181,11 @@ sub getmacs { my @emptynode; if ( $par =~ /^HASH/ ) { - - return( [["","Please use -D -f options to getmacs through FSP directly",RC_ERROR]] ); - + my $t = $request->{node}; + foreach my $n (@$t) { + return( [[$n,"Please use -D -f options to getmacs through FSP directly",RC_ERROR]] ); + } + ######################################### # Parse the filters specified by user #########################################