mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Update common.php
This commit is contained in:
@@ -40,7 +40,7 @@ function external_exec($command)
|
||||
$exec_response['error'] = stream_get_contents($pipes[2]);
|
||||
if ($exec_response['error'])
|
||||
{
|
||||
$output = FALSE;
|
||||
$output = $exec_response['error'];
|
||||
} else {
|
||||
$output = stream_get_contents($pipes[1]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user