#658 Fix error message for finding arp path

This commit is contained in:
Steve Gilvarry
2015-01-05 07:58:39 +11:00
parent 1cfec7e3e7
commit a44f83cb7d

View File

@@ -292,7 +292,7 @@ unset($output);
$command = "type -p arp";
$result = exec( escapeshellcmd($command), $output, $status );
if ( $status )
Fatal( "Unable determine arp path, status is '$status'" );
Fatal( "Unable to determine path for arp command, type -p arp returned '$status'" );
// Now that we know where arp is, call it using the full path
$command = $output[0]." -a";
unset($output);