mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-16 01:57:09 +00:00
Fix typo
Typo created empty file `1` and threw error: sh: 1: dos2unix: not found
This commit is contained in:
parent
348a174b97
commit
50c2b2b159
@ -125,7 +125,7 @@ if conky == nil then --> standalone program
|
||||
-- 2 args: 1st is inputfile, 2nd is outputfile
|
||||
-- 0, 3 or more args: print usage to STDERR and quit
|
||||
if #arg == 1 or #arg == 2 then
|
||||
if os.execute('command -v dos2unix 2&>1') then
|
||||
if os.execute('command -v dos2unix 2>&1 >/dev/null') == 0 then
|
||||
os.execute('dos2unix ' .. arg[1]);
|
||||
end
|
||||
input = io.input(arg[1]);
|
||||
|
Loading…
Reference in New Issue
Block a user