From a3fe08978e9188a920e8c04acb247ddf497e9d79 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Tue, 19 Jun 2018 01:50:39 +0700 Subject: [PATCH] Return special exit code if license is expired. --- source/net/filebot/cli/ArgumentProcessor.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/net/filebot/cli/ArgumentProcessor.java b/source/net/filebot/cli/ArgumentProcessor.java index 20eee8ba..2e51faf4 100644 --- a/source/net/filebot/cli/ArgumentProcessor.java +++ b/source/net/filebot/cli/ArgumentProcessor.java @@ -49,11 +49,11 @@ public class ArgumentProcessor { } else { log.log(Level.SEVERE, e.getMessage(), e); } - } - // script failed with exception -> exit with non-zero exit code (and use positive code to avoid issues with launch4j launcher) - log.finest("Failure (°_°)"); - return 1; + // script failed with exception -> exit with non-zero exit code (and use positive code to avoid issues with launch4j launcher) + log.finest("Failure (°_°)"); + return 1; + } } public int runCommand(CmdlineInterface cli, ArgumentBean args) throws Exception {