From fe8107bf7f88658c2c8bff11722fca0be845fada Mon Sep 17 00:00:00 2001 From: XeonSquared Date: Sun, 8 Oct 2023 11:42:49 +1000 Subject: [PATCH] sort the fs.mounts table --- module/fs.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/module/fs.lua b/module/fs.lua index e77bfb5..5e29277 100644 --- a/module/fs.lua +++ b/module/fs.lua @@ -107,6 +107,7 @@ function fs.mounts() -- -- table -- Returns a table containing the mount points for k,v in pairs(fsmounts) do rt[#rt+1] = k,v.address or "unknown" end + table.sort(rt) return rt end