summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorGabriel Horner <gabriel.horner@gmail.com>2011-08-11 02:15:58 -0400
committerTerence Lee <hone02@gmail.com>2011-08-12 22:15:38 -0500
commitb5e285ea883cce905f324ce028fe532919e4f8e9 (patch)
treef64fa4fa5c977a5d0d8c38926495b43dcfa9b7ad /bin
parentd3291eefeffee234dcfb45016d6572bc5e1d91c3 (diff)
downloadbundler-b5e285ea883cce905f324ce028fe532919e4f8e9.tar.gz
fix bundle check to not print fatal error message, close #1347
Diffstat (limited to 'bin')
-rwxr-xr-xbin/bundle2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/bundle b/bin/bundle
index c1c9cdef1e..f545fa6da9 100755
--- a/bin/bundle
+++ b/bin/bundle
@@ -19,6 +19,8 @@ rescue Interrupt => e
Bundler.ui.error "\nQuitting..."
Bundler.ui.debug e.backtrace.join("\n")
exit 1
+rescue SystemExit => e
+ exit e.status
rescue Exception => e
Bundler.ui.error "Unfortunately, a fatal error has occurred. " +
"Please report this error to the Bundler issue tracker at " +