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
1 changed files with 2 additions and 2 deletions

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