1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Use exit(1) instead of exit(false)

This commit is contained in:
Philip Arndt 2011-01-29 11:00:00 +08:00 committed by José Valim
parent dcc72b2079
commit e0b16debd1

View file

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