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

index 31f17a9058aeef70ad24b01d67c27799ab799081..e0c23e55b9e4a9c1475cceee40bfbdb0abefddcd 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/.*averages*: //" | sed "s/,//"');
+                               $content = shell_exec('uptime | sed "s/.*averages*: //" | sed "s/,//g"');
                        }
                }