aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian C. (anrxc) <anrxc@sysphere.org>2010-03-12 03:39:46 +0100
committerAdrian C. (anrxc) <anrxc@sysphere.org>2010-03-12 03:39:46 +0100
commit71f21f38c10f0e6a1d788283c198d506d1109a48 (patch)
tree889313af2a7c2b3cc971c810e07b8808d5fb84f0
parentedb4619a559f5f934202b939503e9624cbd17b4d (diff)
downloadvicious-legacy-71f21f38c10f0e6a1d788283c198d506d1109a48.tar.xz
fs: use -l not --local for portability
-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)