Skip to content
Browse files

Use exit(1) instead of exit(false)

  • Loading branch information...
1 parent dcc72b2 commit e0b16debd180a705ffafa889b441556c26ad86fa @parndt parndt committed with josevalim Jan 29, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 railties/lib/rails/commands.rb
4 railties/lib/rails/commands.rb
@@ -62,7 +62,7 @@
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 @@
All commands can be run with -h for more information.
- exit(false)
+ exit(1)

0 comments on commit e0b16de

Please sign in to comment.
Something went wrong with that request. Please try again.