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:
parent
dcc72b2079
commit
e0b16debd1
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue