summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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