From e0b16debd180a705ffafa889b441556c26ad86fa Mon Sep 17 00:00:00 2001 From: Philip Arndt Date: Sat, 29 Jan 2011 11:00:00 +0800 Subject: Use exit(1) instead of exit(false) --- railties/lib/rails/commands.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'railties/lib/rails') 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 -- cgit v1.2.3