From e6f7ece3d2942e7667789c0c0798e43b262469fd Mon Sep 17 00:00:00 2001 From: xq2005 Date: Mon, 13 May 2013 09:07:22 +0000 Subject: [PATCH] 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 --- xCAT-server/lib/perl/xCAT/SvrUtils.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/perl/xCAT/SvrUtils.pm b/xCAT-server/lib/perl/xCAT/SvrUtils.pm index 959783b44..2a03bd02f 100644 --- a/xCAT-server/lib/perl/xCAT/SvrUtils.pm +++ b/xCAT-server/lib/perl/xCAT/SvrUtils.pm @@ -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 {