aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
diff options
context:
space:
mode:
authorPhilip Arndt <parndt@gmail.com>2011-01-29 11:00:00 +0800
committerJosé Valim <jose.valim@gmail.com>2011-01-29 16:51:40 +0800
commite0b16debd180a705ffafa889b441556c26ad86fa (patch)
tree89243423bd3e1a5892b77adc66fef22752b1248d /railties/lib
parentdcc72b207922faba896eb9560a7186a90223cb8b (diff)
downloadrails-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.rb4
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