minor fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11604 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
b6032f8fbc
commit
6d8bfba2f3
@ -398,7 +398,7 @@ sub do_getmacs {
|
||||
######################################
|
||||
# Split results into array
|
||||
######################################
|
||||
return( [$Rc, split( /\n/, $result)] );
|
||||
return $Rc;
|
||||
}
|
||||
|
||||
|
||||
@ -679,9 +679,10 @@ sub getmacs {
|
||||
# Manually collect MAC addresses.
|
||||
#########################################
|
||||
$result = do_getmacs( $request, $d, $exp, $name, $node );
|
||||
$Rc = shift(@$result);
|
||||
}
|
||||
$sitetab->close;
|
||||
$Rc = shift(@$result);
|
||||
|
||||
|
||||
##################################
|
||||
# Form string from array results
|
||||
|
Loading…
Reference in New Issue
Block a user