Permalink
Browse files

Don't call System.exit() if the exitcode is 0

  • Loading branch information...
ndw committed May 28, 2015
1 parent 265212d commit 172e0575f56952108dd06e5ad78157230ef86256
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/main/java/com/xmlcalabash/drivers/Main.java
@@ -81,7 +81,9 @@
public static void main(String[] args) throws IOException {
Main main = new Main();
main.run(args);
- System.exit(exitStatus);
+ if (exitStatus != 0) {
+ System.exit(exitStatus);
+ }
}
public void run(String[] args) throws IOException {

0 comments on commit 172e057

Please sign in to comment.