diff options
author | Peter Palfrader <peter@palfrader.org> | 2006-06-23 23:06:40 +0000 |
---|---|---|
committer | weasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede> | 2006-06-23 23:06:40 +0000 |
commit | 7f08de4c331f1bfca0644394e7a0d79482e19bf8 (patch) | |
tree | 237cc6d27d80484216189b962fba18357738fa8b /munin/owfs_temperature_ | |
parent | c89a903fdec940c620793104996199c3e87cb90f (diff) |
Retry gathering data
git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@145 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
Diffstat (limited to 'munin/owfs_temperature_')
-rwxr-xr-x | munin/owfs_temperature_ | 2 |
1 files changed, 1 insertions, 1 deletions
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 |