summaryrefslogtreecommitdiff
path: root/munin/owfs_temperature_
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2006-06-24 11:09:37 +0000
committerweasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede>2006-06-24 11:09:37 +0000
commitb5d66c73a212fa0baba5b4fdf78d48b1d623fb93 (patch)
treea24172cbab87d9da5d3d34634118a142224857c5 /munin/owfs_temperature_
parentca4d4a0051aba1852e73d11033d76073b3b404ef (diff)
I think there's another argument needed
git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@148 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
Diffstat (limited to 'munin/owfs_temperature_')
-rwxr-xr-xmunin/owfs_temperature_2
1 files changed, 1 insertions, 1 deletions
diff --git a/munin/owfs_temperature_ b/munin/owfs_temperature_
index 8713990..cf5e25d 100755
--- a/munin/owfs_temperature_
+++ b/munin/owfs_temperature_
@@ -126,7 +126,7 @@ def report
exitstatus, out, err = runcmd(['cat', $owfs_path+'/'+device+'/temperature'], '')
if exitstatus != 0
STDERR.puts "Child exited with non-zero exit code(%d): %s"%[exitstatus >> 8, err.join]
- runcmd(['ls', $owfs_path])
+ runcmd(['ls', $owfs_path], '')
sleep 1
else
STDERR.puts "command succeeded but returned something on stderr: #{err.join}" if err.size > 0