mirror of
https://github.com/ShaYmez/ezservermonitor-web.git
synced 2024-09-27 15:36:34 -04:00
Network: ifconfig command check errors no longer appear in logs
This commit is contained in:
parent
4e8eb68ed7
commit
4aca35d78e
@ -124,7 +124,7 @@ class Misc
|
|||||||
|
|
||||||
foreach ($cmds as $cmd)
|
foreach ($cmds as $cmd)
|
||||||
{
|
{
|
||||||
if (trim(shell_exec($cmd.$args)) != '')
|
if (trim(shell_exec($cmd.' 2>/dev/null '.$args)) != '')
|
||||||
{
|
{
|
||||||
$return = $cmd;
|
$return = $cmd;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user