X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FCore%2FSystem.php;h=b2da78f1b3509d9a2ff5f16d147d1efd42c45e3e;hb=da1c13368b55546a0a998abd8aedcc9849b44a09;hp=8a8f273a8db7fdf2c9ef5402f22a4e19899f20fa;hpb=ab9b60b9d22306d4e52648c582f3b2dd5d2cc120;p=friendica.git diff --git a/src/Core/System.php b/src/Core/System.php index 8a8f273a8d..b2da78f1b3 100644 --- a/src/Core/System.php +++ b/src/Core/System.php @@ -442,7 +442,7 @@ class System */ public static function getLoadAvg(): array { - if (is_readable('/proc/loadavg')) { + if (@is_readable('/proc/loadavg')) { $content = @file_get_contents('/proc/loadavg'); if (empty($content)) { $content = shell_exec('cat /proc/loadavg');