libs/sys: fix call to nixio.uname()
This commit is contained in:
parent
68b51e1527
commit
4b0d5f9205
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ function sysinfo()
|
|||
cpuinfo:match("machine\t+: ([^\n]+)") or
|
||||
cpuinfo:match("Hardware\t+: ([^\n]+)") or
|
||||
fs.readfile("/proc/diag/model") or
|
||||
nixio.uname().machine() or
|
||||
nixio.uname().machine or
|
||||
system
|
||||
|
||||
return system, model, memtotal, memcached, membuffers, memfree, bogomips
|
||||
|
|
Loading…
Reference in a new issue