From 7f08de4c331f1bfca0644394e7a0d79482e19bf8 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Fri, 23 Jun 2006 23:06:40 +0000 Subject: Retry gathering data git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@145 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede --- munin/owfs_temperature_ | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'munin') diff --git a/munin/owfs_temperature_ b/munin/owfs_temperature_ index 10277b9..9a4f2df 100755 --- a/munin/owfs_temperature_ +++ b/munin/owfs_temperature_ @@ -84,7 +84,7 @@ def report # cat: /var/lib/owfs/10.D234EE000800/temperature: Invalid argument # # ls'ing the directory help, let's see if stating it does too. - 5.times do + 8.times do break if File.directory?($owfs_path + '/' + device) STDERR.puts "Directory '#{$owfs_path}/#{device}' does not exist right now (or isn't a directory). Sleeping a bit." sleep 1 -- cgit v1.2.3