Print extra new lines only if logging is turned on

This commit is contained in:
Reinhard Pointner 2016-02-27 03:27:34 +00:00
parent 01d4e23f01
commit f27325a458
2 changed files with 1 additions and 2 deletions

View File

@ -168,7 +168,6 @@ public class Main {
// CLI mode => run command-line interface and then exit // CLI mode => run command-line interface and then exit
if (args.runCLI()) { if (args.runCLI()) {
int status = new ArgumentProcessor().process(args, new CmdlineOperations()); int status = new ArgumentProcessor().process(args, new CmdlineOperations());
System.out.println();
System.exit(status); System.exit(status);
} }

View File

@ -115,7 +115,7 @@ public class ArgumentProcessor {
} }
// script finished successfully // script finished successfully
CLILogger.finest("Done ヾ(@⌒ー⌒@)"); CLILogger.finest("Done ヾ(@⌒ー⌒@)" + System.lineSeparator());
return 0; return 0;
} catch (Throwable e) { } catch (Throwable e) {
if (findCause(e, CmdlineException.class) != null) { if (findCause(e, CmdlineException.class) != null) {