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
This commit is contained in:
jjhua 2010-08-02 08:04:26 +00:00
parent a7e56eb7f7
commit eaa2cbbe09

View File

@ -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
#########################################