projects
/
friendica.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
edaff99
)
now with g
author
Zane C. Bowers-Hadley
<vvelox@vvelox.net>
Sat, 3 Dec 2022 10:34:17 +0000
(
04:34
-0600)
committer
Zane C. Bowers-Hadley
<vvelox@vvelox.net>
Sat, 3 Dec 2022 10:34:17 +0000
(
04:34
-0600)
src/Core/System.php
patch
|
blob
|
history
diff --git
a/src/Core/System.php
b/src/Core/System.php
index 31f17a9058aeef70ad24b01d67c27799ab799081..e0c23e55b9e4a9c1475cceee40bfbdb0abefddcd 100644
(file)
--- a/
src/Core/System.php
+++ b/
src/Core/System.php
@@
-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
"');
}
}