mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-09-30 14:35:06 -04:00
#658 Fix error message for finding arp path
This commit is contained in:
1 parent
1cfec7e3e7
commit
a44f83cb7d
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user