1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-22 02:51:03 +00:00

Fix typos in netstat_bsd_m and ejabberd_scanlog

This commit is contained in:
Artem Sheremet 2013-09-11 23:12:49 +03:00
parent defc59e110
commit 7c8df226cf
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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