Non-zero exit code on error. Fixes #41
@@ -17,6 +17,7 @@ public class JPlag {
}
catch(ExitException ex) {
System.out.println("Error: "+ex.getReport());
+ System.exit(1);