Skip to content
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 1 changed file with 3 additions and 1 deletion.
@@ -81,7 +81,9 @@ public class Main {
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.