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