mirror of
https://github.com/friendica/friendica
synced 2025-02-03 21:38:52 +00:00
derp, minor fix
This commit is contained in:
parent
f664208157
commit
edaff99307
1 changed files with 1 additions and 1 deletions
|
@ -445,7 +445,7 @@ class System
|
||||||
if (@is_readable('/proc/loadavg')) {
|
if (@is_readable('/proc/loadavg')) {
|
||||||
$content = @file_get_contents('/proc/loadavg');
|
$content = @file_get_contents('/proc/loadavg');
|
||||||
if (empty($content)) {
|
if (empty($content)) {
|
||||||
$content = shell_exec('uptime | sed "s/.*e: //" | sed "s/,//"');
|
$content = shell_exec('uptime | sed "s/.*averages*: //" | sed "s/,//"');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue