derp, minor fix

This commit is contained in:
Zane C. Bowers-Hadley 2022-12-03 04:31:04 -06:00
parent f664208157
commit edaff99307

View 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/,//"');
}
}