mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Use exit(1) instead of exit(false)
This commit is contained in:
@@ -62,7 +62,7 @@ when 'application', 'runner'
|
||||
when 'new'
|
||||
puts "Can't initialize a new Rails application within the directory of another, please change to a non-Rails directory first.\n"
|
||||
puts "Type 'rails' for help."
|
||||
exit(false)
|
||||
exit(1)
|
||||
|
||||
when '--version', '-v'
|
||||
ARGV.unshift '--version'
|
||||
@@ -92,5 +92,5 @@ In addition to those, there are:
|
||||
|
||||
All commands can be run with -h for more information.
|
||||
EOT
|
||||
exit(false)
|
||||
exit(1)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user