Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Return 1 on failure, not on success

  • Loading branch information...
commit 803287e6c207872ab5c3263b22cdb002c81bc7c0 1 parent f9cfc96
@jnicklas jnicklas authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 bin/evergreen
View
4 bin/evergreen
@@ -6,8 +6,8 @@ require 'evergreen'
begin
# The dup is to keep ARGV intact, so that tools like ruby-debug can respawn.
- failure = Evergreen::Cli.execute(ARGV.dup)
- Kernel.exit(failure ? 1 : 0)
+ success = Evergreen::Cli.execute(ARGV.dup)
+ Kernel.exit(success ? 0 : 1)
rescue SystemExit => e
Kernel.exit(e.status)
rescue Exception => e
Please sign in to comment.
Something went wrong with that request. Please try again.