diff options
-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 |