Skip to content

Commit

Permalink
Use exit code 0 instead of 1
Browse files Browse the repository at this point in the history
  • Loading branch information
repeatedly committed Feb 2, 2018
1 parent d305000 commit 85a74a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fluent/command/binlog_reader.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def command
if command
if command == '--version'
puts "#{File.basename($PROGRAM_NAME)} #{Fluent::VERSION}"
exit 1
exit 0
elsif !SUBCOMMAND.include?(command)
usage "'#{command}' is not supported: Required subcommand : #{SUBCOMMAND.join(' | ')}"
end
Expand Down

0 comments on commit 85a74a1

Please sign in to comment.