lib/remote_syslog/cli.rb in remote_syslog-1.6.3 vs lib/remote_syslog/cli.rb in remote_syslog-1.6.4
- old
+ new
@@ -95,10 +95,10 @@
end
end
op.parse!(@argv)
- @files = @argv
+ @files = @argv.dup.delete_if { |a| a.empty? }
parse_config
@dest_host ||= 'logs.papertrailapp.com'
@dest_port ||= 514