mirror of
https://github.com/ShaYmez/ezservermonitor-web.git
synced 2025-05-24 18:32:26 -04:00
Merge branch 'master' of https://github.com/shevabam/ezservermonitor-web
This commit is contained in:
commit
ccc28acea7
@ -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…
x
Reference in New Issue
Block a user