Skip to content
Browse files

Exit with non-zero to signal failure.

  • Loading branch information...
1 parent e0b16de commit d6fd5821dab547fe183ffb58cb1cf8031c86e736 @parndt parndt committed with josevalim Jan 29, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/rails/cli.rb
View
2 railties/lib/rails/cli.rb
@@ -6,7 +6,7 @@
Rails::ScriptRailsLoader.exec_script_rails!
require 'rails/ruby_version_check'
-Signal.trap("INT") { puts; exit }
+Signal.trap("INT") { puts; exit(1) }
if ARGV.first == 'plugin'
ARGV.shift

0 comments on commit d6fd582

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