Check more directly for location of arp

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16255 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
xq2005 2013-05-13 09:07:22 +00:00
parent cae54539ab
commit e6f7ece3d2

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 {