Network: ifconfig command check errors no longer appear in logs

This commit is contained in:
ShevAbam
2019-01-17 10:23:18 +01:00
parent 4e8eb68ed7
commit 4aca35d78e
+1 -1
View File
@@ -124,7 +124,7 @@ class Misc
foreach ($cmds as $cmd)
{
if (trim(shell_exec($cmd.$args)) != '')
if (trim(shell_exec($cmd.' 2>/dev/null '.$args)) != '')
{
$return = $cmd;