From f96b82f050351c213d90fb2366afb24d0490e270 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 21 Dec 2016 14:00:59 +0100 Subject: Silence, I kill you Signed-off-by: Joas Schilling --- lib/SystemStatistics.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/SystemStatistics.php b/lib/SystemStatistics.php index 02c3c48..dd483a5 100644 --- a/lib/SystemStatistics.php +++ b/lib/SystemStatistics.php @@ -68,7 +68,7 @@ class SystemStatistics { * @return array with the two values 'mem_free' and 'mem_total' */ protected function getMemoryUsage() { - $memoryUsage = file_get_contents('/proc/meminfo'); + $memoryUsage = @file_get_contents('/proc/meminfo'); if ($memoryUsage === false) { return ['mem_free' => 'N/A', 'mem_total' => 'N/A']; } -- cgit v1.2.3