aboutsummaryrefslogtreecommitdiff
path: root/fs.lua
diff options
context:
space:
mode:
authorAdrian C. (anrxc) <anrxc@sysphere.org>2009-08-17 21:38:03 +0200
committerAdrian C. (anrxc) <anrxc@sysphere.org>2009-08-17 21:38:03 +0200
commit4330375cb7ce3495c90817856d3c3dc320c6bd25 (patch)
tree900c5932e4aee647f2f7b8255b6fc302bc8736b2 /fs.lua
parent44cd53f3884e044818e8d56edce7e41c50bbdeab (diff)
downloadvicious-legacy-4330375cb7ce3495c90817856d3c3dc320c6bd25.tar.xz
Next release, tag 1.0.10.v1.0.10
Diffstat (limited to 'fs.lua')
-rw-r--r--fs.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs.lua b/fs.lua
index 0b6fbd9..01d902a 100644
--- a/fs.lua
+++ b/fs.lua
@@ -26,7 +26,7 @@ local function worker(format)
-- table for each mount point with gmatch
local size, used, avail, usep, mount =
-- Instead match all at once, including network file systems
- line:match('^[/%w:%.-]+[%s]+([%d%.]+)[%a]?[%s]+([%d%.]+)[%a]?[%s]+([%d%.]+)[%a]?[%s]+([%d]+)%%[%s]+([/%w:%.-]+)$')
+ line:match("^[/%w:%.-]+[%s]+([%d%.]+)[%a]?[%s]+([%d%.]+)[%a]?[%s]+([%d%.]+)[%a]?[%s]+([%d]+)%%[%s]+([/%w:%.-]+)$")
fs_info["{"..mount.." size}"] = size
fs_info["{"..mount.." used}"] = used