aboutsummaryrefslogtreecommitdiff
path: root/widgets
diff options
context:
space:
mode:
authorAdrian C. (anrxc) <anrxc@sysphere.org>2012-02-05 19:38:22 +0100
committerAdrian C. (anrxc) <anrxc@sysphere.org>2012-02-05 19:38:22 +0100
commitb11bb78e04b1efa1cd7b352f0522c88280647ad4 (patch)
tree79367b42302326b45a3b277e9a9759cb667b87bf /widgets
parent73db82b4c9cec2b966b0beff2153b9678aa44e48 (diff)
downloadvicious-legacy-b11bb78e04b1efa1cd7b352f0522c88280647ad4.tar.xz
hddtemp: fix curl hang in version 7.24.0
Diffstat (limited to 'widgets')
-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