From 196dda948773a7076633bd2d1bdc05219fa571f2 Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 19 Oct 2022 04:49:57 +0000 Subject: [PATCH] Suppress warning on load check --- src/Core/System.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/System.php b/src/Core/System.php index 8a8f273a8..b2da78f1b 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');