sort the fs.mounts table
This commit is contained in:
parent
35f3c6f89e
commit
fe8107bf7f
@ -107,6 +107,7 @@ function fs.mounts() -- -- table -- Returns a table containing the mount points
|
|||||||
for k,v in pairs(fsmounts) do
|
for k,v in pairs(fsmounts) do
|
||||||
rt[#rt+1] = k,v.address or "unknown"
|
rt[#rt+1] = k,v.address or "unknown"
|
||||||
end
|
end
|
||||||
|
table.sort(rt)
|
||||||
return rt
|
return rt
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user