diff options
-rw-r--r-- | src/core/lombok/core/Main.java | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/core/lombok/core/Main.java b/src/core/lombok/core/Main.java index 6952ab78..47afaefd 100644 --- a/src/core/lombok/core/Main.java +++ b/src/core/lombok/core/Main.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2009-2012 The Project Lombok Authors. + * Copyright (C) 2009-2018 The Project Lombok Authors. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -41,7 +41,9 @@ public class Main { Thread.currentThread().setContextClassLoader(Main.class.getClassLoader()); int err = new Main(SpiLoadUtil.readAllFromIterator( SpiLoadUtil.findServices(LombokApp.class)), Arrays.asList(args)).go(); - System.exit(err); + if (err != 0) { + System.exit(err); + } } @ProviderFor(LombokApp.class) @@ -143,7 +145,7 @@ public class Main { out.println("------------------------------"); } out.println("projectlombok.org " + Version.getFullVersion()); - out.println("Copyright (C) 2009-2015 The Project Lombok Authors."); + out.println("Copyright (C) 2009-2018 The Project Lombok Authors."); out.println("Run 'lombok license' to see the lombok license agreement."); out.println(); out.println("Run lombok without any parameters to start the graphical installer."); |