From 71f21f38c10f0e6a1d788283c198d506d1109a48 Mon Sep 17 00:00:00 2001 From: "Adrian C. (anrxc)" Date: Fri, 12 Mar 2010 03:39:46 +0100 Subject: fs: use -l not --local for portability --- fs.lua | 4 ++-- 1 file 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) -- cgit v1.2.3