]> git.mxchange.org Git - friendica.git/commitdiff
derp, minor fix
authorZane C. Bowers-Hadley <vvelox@vvelox.net>
Sat, 3 Dec 2022 10:31:04 +0000 (04:31 -0600)
committerZane C. Bowers-Hadley <vvelox@vvelox.net>
Sat, 3 Dec 2022 10:31:04 +0000 (04:31 -0600)
src/Core/System.php

index dbf49b38db18af1971c7e2daee05f67cb4a5fabb..31f17a9058aeef70ad24b01d67c27799ab799081 100644 (file)
@@ -445,7 +445,7 @@ class System
                if (@is_readable('/proc/loadavg')) {
                        $content = @file_get_contents('/proc/loadavg');
                        if (empty($content)) {
-                               $content = shell_exec('uptime | sed "s/.*e: //" | sed "s/,//"');
+                               $content = shell_exec('uptime | sed "s/.*averages*: //" | sed "s/,//"');
                        }
                }