diff options
author | Adrian C. (anrxc) <anrxc@sysphere.org> | 2010-03-12 03:39:46 +0100 |
---|---|---|
committer | Adrian C. (anrxc) <anrxc@sysphere.org> | 2010-03-12 03:39:46 +0100 |
commit | 71f21f38c10f0e6a1d788283c198d506d1109a48 (patch) | |
tree | 889313af2a7c2b3cc971c810e07b8808d5fb84f0 | |
parent | edb4619a559f5f934202b939503e9624cbd17b4d (diff) | |
download | vicious-legacy-71f21f38c10f0e6a1d788283c198d506d1109a48.tar.xz |
fs: use -l not --local for portability
-rw-r--r-- | fs.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |