mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
Fix typos in netstat_bsd_m and ejabberd_scanlog
This commit is contained in:
parent
defc59e110
commit
7c8df226cf
2 changed files with 2 additions and 2 deletions
|
@ -48,7 +48,7 @@ if ARGV.first == 'reset'
|
||||||
end
|
end
|
||||||
|
|
||||||
new_data = ''
|
new_data = ''
|
||||||
File.open(LOG_FILE, 'r') do |flog|
|
File.open(LOG_FILE, 'rb') do |flog|
|
||||||
flog.seek(log_info[:start])
|
flog.seek(log_info[:start])
|
||||||
new_data = flog.read
|
new_data = flog.read
|
||||||
end
|
end
|
||||||
|
|
|
@ -92,5 +92,5 @@ when nil # fetch
|
||||||
}.join $/
|
}.join $/
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
warn "unrecognized argument <#{ARGV.fist}>"
|
warn "unrecognized argument <#{ARGV.first}>"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue