sync from trunk

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16256 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
xq2005 2013-05-13 09:08:22 +00:00
parent dfbfa103ec
commit 9736ea127e

View File

@ -1121,7 +1121,7 @@ sub get_mac_by_arp ()
if ( xCAT::Utils->isAIX() ) {
$output = `/usr/sbin/arp -a`;
} else {
if ( -e "/etc/debian_version" ) {
if ( -x "/usr/sbin/arp" ) {
$output = `/usr/sbin/arp -n`;
}
else {