From b5d66c73a212fa0baba5b4fdf78d48b1d623fb93 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sat, 24 Jun 2006 11:09:37 +0000 Subject: I think there's another argument needed git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@148 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede --- munin/owfs_temperature_ | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3