diff options
author | Philip Arndt <parndt@gmail.com> | 2011-01-29 11:00:00 +0800 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-01-29 16:51:40 +0800 |
commit | e0b16debd180a705ffafa889b441556c26ad86fa (patch) | |
tree | 89243423bd3e1a5892b77adc66fef22752b1248d /railties/lib | |
parent | dcc72b207922faba896eb9560a7186a90223cb8b (diff) | |
download | rails-e0b16debd180a705ffafa889b441556c26ad86fa.tar.gz rails-e0b16debd180a705ffafa889b441556c26ad86fa.tar.bz2 rails-e0b16debd180a705ffafa889b441556c26ad86fa.zip |
Use exit(1) instead of exit(false)
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/commands.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/rails/commands.rb b/railties/lib/rails/commands.rb index f015b33e18..02ccdf8060 100644 --- a/railties/lib/rails/commands.rb +++ b/railties/lib/rails/commands.rb @@ -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 |