aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--widgets/hddtemp.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/hddtemp.lua b/widgets/hddtemp.lua
index 687ced1..0c79656 100644
--- a/widgets/hddtemp.lua
+++ b/widgets/hddtemp.lua
@@ -21,7 +21,7 @@ local function worker(format, warg)
if warg == nil then warg = 7634 end
local hdd_temp = {} -- Get info from the hddtemp daemon
- local f = io.popen("curl --connect-timeout 1 -fsm 3 telnet://127.0.0.1:"..warg)
+ local f = io.popen("echo | curl --connect-timeout 1 -fsm 3 telnet://127.0.0.1:"..warg)
for line in f:lines() do
for d, t in string.gmatch(line, "|([%/%a%d]+)|.-|([%d]+)|[CF]+|") do