aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fs.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs.lua b/fs.lua
index fdc35aa..87aa243 100644
--- a/fs.lua
+++ b/fs.lua
@@ -22,8 +22,8 @@ local unit = { ["mb"] = 1024, ["gb"] = 1024^2 }
-- {{{ Filesystem widget type
local function worker(format, nfs)
- -- Fallback to listing only local file-systems
- if nfs then nfs = "" else nfs = "--local" end
+ -- Fallback to listing local filesystems
+ if nfs then nfs = "" else nfs = "-l" end
-- Get (non-localized)data from df
local f = io.popen("LC_ALL=C df -kP " .. nfs)