summaryrefslogtreecommitdiff
blob: 0928ee0080d1bc3427159a088ab85fa8c51512b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- pry-0.2.1/pry
+++ pry-0.2.1/pry
@@ -108,6 +108,10 @@
     else:
         r._run(output, options.benchmark)
         output.final(r)
+        if r.allErrors():
+            sys.exit(1)
+        else:
+            sys.exit()
     
 
 if __name__ == "__main__":